Update to mcdev rename revision 01 for 1.8.1

This commit is contained in:
Dinnerbone
2011-09-24 22:03:31 +01:00
parent 75ac4e00b2
commit 0118a20d6a
40 changed files with 322 additions and 324 deletions

View File

@@ -172,7 +172,7 @@ public class EntityPlayer extends EntityHuman implements ICrafting {
this.inventory.armor[i] = null;
}
this.x();
this.closeInventory();
// CraftBukkit end
}
@@ -265,7 +265,7 @@ public class EntityPlayer extends EntityHuman implements ICrafting {
if (this.I) {
//if (this.b.propertyManager.getBoolean("allow-nether", true)) { // CraftBukkit
if (this.activeContainer != this.defaultContainer) {
this.x();
this.closeInventory();
}
if (this.vehicle != null) {
@@ -463,7 +463,7 @@ public class EntityPlayer extends EntityHuman implements ICrafting {
public void a(ItemStack itemstack) {}
public void x() {
public void closeInventory() {
this.netServerHandler.sendPacket(new Packet101CloseWindow(this.activeContainer.windowId));
this.z();
}