Fixed CraftItem NPEs

This commit is contained in:
Dinnerbone 2011-02-23 16:08:28 +00:00
parent 09aa37fe4a
commit 92cbb2fc23

View file

@ -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() {