summaryrefslogtreecommitdiffstats
path: root/src/main/java/net/minecraft/server/ContainerWorkbench.java
diff options
context:
space:
mode:
Diffstat (limited to 'src/main/java/net/minecraft/server/ContainerWorkbench.java')
-rw-r--r--src/main/java/net/minecraft/server/ContainerWorkbench.java8
1 files changed, 4 insertions, 4 deletions
diff --git a/src/main/java/net/minecraft/server/ContainerWorkbench.java b/src/main/java/net/minecraft/server/ContainerWorkbench.java
index 42f91a9d..7c32df51 100644
--- a/src/main/java/net/minecraft/server/ContainerWorkbench.java
+++ b/src/main/java/net/minecraft/server/ContainerWorkbench.java
@@ -67,8 +67,8 @@ public class ContainerWorkbench extends Container {
// CraftBukkit end
}
- public void a(EntityHuman entityhuman) {
- super.a(entityhuman);
+ public void b(EntityHuman entityhuman) {
+ super.b(entityhuman);
if (!this.g.isStatic) {
for (int i = 0; i < 9; ++i) {
ItemStack itemstack = this.craftInventory.splitWithoutUpdate(i);
@@ -80,14 +80,14 @@ public class ContainerWorkbench extends Container {
}
}
- public boolean c(EntityHuman entityhuman) {
+ public boolean a(EntityHuman entityhuman) {
if (!this.checkReachable) return true; // CraftBukkit
return this.g.getTypeId(this.h, this.i, this.j) != Block.WORKBENCH.id ? false : entityhuman.e((double) this.h + 0.5D, (double) this.i + 0.5D, (double) this.j + 0.5D) <= 64.0D;
}
public ItemStack b(EntityHuman entityhuman, int i) {
ItemStack itemstack = null;
- Slot slot = (Slot) this.b.get(i);
+ Slot slot = (Slot) this.c.get(i);
if (slot != null && slot.d()) {
ItemStack itemstack1 = slot.getItem();