diff options
Diffstat (limited to 'src/main/java/net/minecraft/server/InventoryEnderChest.java')
-rw-r--r-- | src/main/java/net/minecraft/server/InventoryEnderChest.java | 12 |
1 files changed, 4 insertions, 8 deletions
diff --git a/src/main/java/net/minecraft/server/InventoryEnderChest.java b/src/main/java/net/minecraft/server/InventoryEnderChest.java index 221f9765..ecaf354c 100644 --- a/src/main/java/net/minecraft/server/InventoryEnderChest.java +++ b/src/main/java/net/minecraft/server/InventoryEnderChest.java @@ -60,7 +60,7 @@ public class InventoryEnderChest extends InventorySubcontainer { } for (i = 0; i < nbttaglist.size(); ++i) { - NBTTagCompound nbttagcompound = (NBTTagCompound) nbttaglist.get(i); + NBTTagCompound nbttagcompound = nbttaglist.get(i); int j = nbttagcompound.getByte("Slot") & 255; if (j >= 0 && j < this.getSize()) { @@ -70,7 +70,7 @@ public class InventoryEnderChest extends InventorySubcontainer { } public NBTTagList h() { - NBTTagList nbttaglist = new NBTTagList("EnderItems"); + NBTTagList nbttaglist = new NBTTagList(); for (int i = 0; i < this.getSize(); ++i) { ItemStack itemstack = this.getItem(i); @@ -99,16 +99,12 @@ public class InventoryEnderChest extends InventorySubcontainer { super.startOpen(); } - public void g() { + public void l_() { if (this.a != null) { this.a.b(); } - super.g(); + super.l_(); this.a = null; } - - public boolean b(int i, ItemStack itemstack) { - return true; - } } |