diff options
Diffstat (limited to 'src/main/java/net/minecraft/server/InventoryLargeChest.java')
-rw-r--r-- | src/main/java/net/minecraft/server/InventoryLargeChest.java | 8 |
1 files changed, 6 insertions, 2 deletions
diff --git a/src/main/java/net/minecraft/server/InventoryLargeChest.java b/src/main/java/net/minecraft/server/InventoryLargeChest.java index add43990..a13a5642 100644 --- a/src/main/java/net/minecraft/server/InventoryLargeChest.java +++ b/src/main/java/net/minecraft/server/InventoryLargeChest.java @@ -68,6 +68,10 @@ public class InventoryLargeChest implements IInventory { return this.left.getSize() + this.right.getSize(); } + public boolean a(IInventory iinventory) { + return this.left == iinventory || this.right == iinventory; + } + public String getName() { return this.a; } @@ -101,8 +105,8 @@ public class InventoryLargeChest implements IInventory { this.right.update(); } - public boolean a(EntityHuman entityhuman) { - return this.left.a(entityhuman) && this.right.a(entityhuman); + public boolean a_(EntityHuman entityhuman) { + return this.left.a_(entityhuman) && this.right.a_(entityhuman); } public void startOpen() { |