소스 검색

Fixed killed entities not being removed from arrowTracker

bm01 13 년 전
부모
커밋
5a394ee744
1개의 변경된 파일1개의 추가작업 그리고 0개의 파일을 삭제
  1. 1 0
      src/main/java/com/gmail/nossr50/skills/archery/Archery.java

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

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