@@ -37,7 +37,7 @@
|
||||
public ContainerStonecutter(int i, PlayerInventory playerinventory) {
|
||||
this(i, playerinventory, ContainerAccess.NULL);
|
||||
@@ -53,6 +75,13 @@
|
||||
ContainerStonecutter.this.a((IInventory) this);
|
||||
ContainerStonecutter.this.slotsChanged(this);
|
||||
ContainerStonecutter.this.slotUpdateListener.run();
|
||||
}
|
||||
+
|
||||
@@ -53,16 +53,16 @@
|
||||
@@ -100,6 +129,7 @@
|
||||
}
|
||||
|
||||
this.a(this.selectedRecipeIndex);
|
||||
this.addDataSlot(this.selectedRecipeIndex);
|
||||
+ player = (Player) playerinventory.player.getBukkitEntity(); // CraftBukkit
|
||||
}
|
||||
|
||||
public int l() {
|
||||
public int getSelectedRecipeIndex() {
|
||||
@@ -120,6 +150,7 @@
|
||||
|
||||
@Override
|
||||
public boolean canUse(EntityHuman entityhuman) {
|
||||
public boolean stillValid(EntityHuman entityhuman) {
|
||||
+ if (!this.checkReachable) return true; // CraftBukkit
|
||||
return a(this.access, entityhuman, Blocks.STONECUTTER);
|
||||
return stillValid(this.access, entityhuman, Blocks.STONECUTTER);
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user