diff options
-rw-r--r-- | src/main/java/net/minecraft/server/EntityPlayer.java | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/src/main/java/net/minecraft/server/EntityPlayer.java b/src/main/java/net/minecraft/server/EntityPlayer.java index 9fe2d0b9..b991bfa7 100644 --- a/src/main/java/net/minecraft/server/EntityPlayer.java +++ b/src/main/java/net/minecraft/server/EntityPlayer.java @@ -290,6 +290,10 @@ public class EntityPlayer extends EntityHuman implements ICrafting { public void die(DamageSource damagesource) { // CraftBukkit start + if (this.dead) { + return; + } + java.util.List<org.bukkit.inventory.ItemStack> loot = new java.util.ArrayList<org.bukkit.inventory.ItemStack>(); for (int i = 0; i < this.inventory.items.length; ++i) { |