Updated for 1.8

This commit is contained in:
lishd
2011-09-15 10:13:14 -04:00
parent 70c75996c0
commit 8791143e66
6 changed files with 45 additions and 12 deletions

View File

@@ -13,18 +13,18 @@ public class PlayerInventoryChest extends InventoryPlayer
this.items = inventory.items;
this.itemInHandIndex = inventory.itemInHandIndex;
this.e = inventory.e;
this.b(inventory.j());
this.b(inventory.l());
inventory.d.defaultContainer = new ContainerPlayer(this, !inventory.d.world.isStatic);
inventory.d.activeContainer = inventory.d.defaultContainer;
}
@Override
public String getName() {
return ((EntityPlayer)this.d).displayName + " (" + this.itemInHandIndex + ")";
return ((EntityPlayer)this.d).displayName;
}
@Override
public boolean a_(EntityHuman entityhuman)
public boolean a(EntityHuman entityhuman)
{
return true;
}