2
0
Эх сурвалжийг харах

Set the treasure drop after using .clone()

Fixes #1603
TfT_02 11 жил өмнө
parent
commit
445f805bb8

+ 2 - 0
src/main/java/com/gmail/nossr50/skills/fishing/FishingManager.java

@@ -481,6 +481,8 @@ public class FishingManager extends SkillManager {
             treasureDrop.setDurability((short) (Misc.getRandom().nextInt(maxDurability)));
             treasureDrop.setDurability((short) (Misc.getRandom().nextInt(maxDurability)));
         }
         }
 
 
+        treasure.setDrop(treasureDrop);
+
         return treasure;
         return treasure;
     }
     }