diff options
Diffstat (limited to 'src/main/java/net/minecraft')
-rw-r--r-- | src/main/java/net/minecraft/server/EntityHuman.java | 5 |
1 files changed, 1 insertions, 4 deletions
diff --git a/src/main/java/net/minecraft/server/EntityHuman.java b/src/main/java/net/minecraft/server/EntityHuman.java index d2fa3db1..a57fbf77 100644 --- a/src/main/java/net/minecraft/server/EntityHuman.java +++ b/src/main/java/net/minecraft/server/EntityHuman.java @@ -294,10 +294,7 @@ public abstract class EntityHuman extends EntityLiving { this.world.getServer().getPluginManager().callEvent(event); if (event.isCancelled()) { - org.bukkit.inventory.ItemStack stack = drop.getItemStack(); - stack.setAmount(1); - player.getInventory().addItem(stack); - + player.getInventory().addItem(drop.getItemStack()); return; } // CraftBukkit end |