diff options
author | Dinnerbone <dinnerbone@dinnerbone.com> | 2011-02-23 16:08:28 +0000 |
---|---|---|
committer | Dinnerbone <dinnerbone@dinnerbone.com> | 2011-02-23 16:08:28 +0000 |
commit | 92cbb2fc237c554b15560292e99c358423e43697 (patch) | |
tree | 9ef5af0f4c005e953bdac861a336cd8d8bbe4f5b /src/main/java/org/bukkit | |
parent | 09aa37fe4a126c5fc2e557ae5b68bb58cd0a3059 (diff) | |
download | craftbukkit-92cbb2fc237c554b15560292e99c358423e43697.tar craftbukkit-92cbb2fc237c554b15560292e99c358423e43697.tar.gz craftbukkit-92cbb2fc237c554b15560292e99c358423e43697.tar.lz craftbukkit-92cbb2fc237c554b15560292e99c358423e43697.tar.xz craftbukkit-92cbb2fc237c554b15560292e99c358423e43697.zip |
Fixed CraftItem NPEs
Diffstat (limited to 'src/main/java/org/bukkit')
-rw-r--r-- | src/main/java/org/bukkit/craftbukkit/entity/CraftItem.java | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/src/main/java/org/bukkit/craftbukkit/entity/CraftItem.java b/src/main/java/org/bukkit/craftbukkit/entity/CraftItem.java index bafb1fe8..86bcce0e 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() { |