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

Fixed killed entities not being removed from arrowTracker

bm01 13 жил өмнө
parent
commit
5a394ee744

+ 1 - 0
src/main/java/com/gmail/nossr50/skills/archery/Archery.java

@@ -46,6 +46,7 @@ public class Archery {
 
 
         if (quantity != null) {
         if (quantity != null) {
             Misc.dropItems(entity.getLocation(), new ItemStack(Material.ARROW), quantity);
             Misc.dropItems(entity.getLocation(), new ItemStack(Material.ARROW), quantity);
+            arrowTracker.remove(entity);
         }
         }
     }
     }