Update to mcdev rename revision 01 for 1.8.1
This commit is contained in:
@@ -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();
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user