@@ -35,9 +35,9 @@
|
||||
+ if (itemstack.isEmpty() || itemstack.getItem() == null) { // CraftBukkit - NPE fix itemstack.getItem()
|
||||
this.writeShort(-1);
|
||||
} else {
|
||||
this.writeShort(Item.getId(itemstack.getItem()));
|
||||
Item item = itemstack.getItem();
|
||||
@@ -263,6 +265,11 @@
|
||||
ItemStack itemstack = new ItemStack(Item.getById(short0), b0, short1);
|
||||
ItemStack itemstack = new ItemStack(Item.getById(short0), b0);
|
||||
|
||||
itemstack.setTag(this.j());
|
||||
+ // CraftBukkit start
|
||||
|
||||
Reference in New Issue
Block a user