Update CraftBukkit to Minecraft 1.7.2
This commit is contained in:
@@ -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;
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user