diff options
Diffstat (limited to 'nms-patches/Entity.patch')
-rw-r--r-- | nms-patches/Entity.patch | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/nms-patches/Entity.patch b/nms-patches/Entity.patch index d33d1882..464dff3a 100644 --- a/nms-patches/Entity.patch +++ b/nms-patches/Entity.patch @@ -364,7 +364,7 @@ public EntityItem a(ItemStack itemstack, float f) { if (itemstack.count != 0 && itemstack.getItem() != null) { + // CraftBukkit start - Capture drops for death event -+ if (this instanceof EntityLiving && ((EntityLiving) this).drops != null) { ++ if (this instanceof EntityLiving) { + ((EntityLiving) this).drops.add(org.bukkit.craftbukkit.inventory.CraftItemStack.asBukkitCopy(itemstack)); + return null; + } |