Преглед на файлове

Changed Arrow Retrieval to drop arrows individually

bm01 преди 13 години
родител
ревизия
7ad9b8ff3e
променени са 2 файла, в които са добавени 2 реда и са изтрити 1 реда
  1. 1 0
      Changelog.txt
  2. 1 1
      src/main/java/com/gmail/nossr50/skills/combat/Archery.java

+ 1 - 0
Changelog.txt

@@ -19,6 +19,7 @@ Version 1.3.07
  + Added config options for enabling/disabling specific double drops
  + Added automatic zip backup of flatfile database & config files
  + Added config options to enable/disable specific skills for PVP & PVE
+ = Fixed Arrow Retrieval dropping only one arrow
  = Fixed /p and /a incompatibilities with bChatManager
  = Fixed Iron Grip working reversely
  = Fixed NPE when user clicked the HUD button with Spout

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

@@ -86,7 +86,7 @@ public class Archery {
             Entry<Entity, Integer> entry = it.next();
 
             if (entry.getKey() == entity) {
-                Misc.mcDropItem(entity.getLocation(), new ItemStack(Material.ARROW, entry.getValue()));
+                Misc.mcDropItems(entity.getLocation(), new ItemStack(Material.ARROW), entry.getValue());
                 it.remove();
                 return;
             }