From 92cbb2fc237c554b15560292e99c358423e43697 Mon Sep 17 00:00:00 2001 From: Dinnerbone Date: Wed, 23 Feb 2011 16:08:28 +0000 Subject: [PATCH] Fixed CraftItem NPEs --- src/main/java/org/bukkit/craftbukkit/entity/CraftItem.java | 1 + 1 file changed, 1 insertion(+) diff --git a/src/main/java/org/bukkit/craftbukkit/entity/CraftItem.java b/src/main/java/org/bukkit/craftbukkit/entity/CraftItem.java index bafb1fe8a4..86bcce0e35 100644 --- a/src/main/java/org/bukkit/craftbukkit/entity/CraftItem.java +++ b/src/main/java/org/bukkit/craftbukkit/entity/CraftItem.java @@ -11,6 +11,7 @@ public class CraftItem extends CraftEntity implements Item { public CraftItem(CraftServer server, EntityItem entity) { super(server, entity); + this.item = entity; } public ItemStack getItemStack() {