Update CraftBukkit to Minecraft 1.7.2

This commit is contained in:
mbax
2013-11-04 07:07:38 -06:00
committed by Wesley Wolfe
parent ff8b70fbb7
commit 2726696652
349 changed files with 14339 additions and 11287 deletions

View File

@@ -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;
}
}