11 lines
520 B
Diff
11 lines
520 B
Diff
--- a/net/minecraft/world/inventory/ContainerAnvilAbstract.java
|
|
+++ b/net/minecraft/world/inventory/ContainerAnvilAbstract.java
|
|
@@ -105,6 +105,7 @@
|
|
|
|
@Override
|
|
public boolean stillValid(EntityHuman entityhuman) {
|
|
+ if (!this.checkReachable) return true; // CraftBukkit
|
|
return (Boolean) this.access.evaluate((world, blockposition) -> {
|
|
return !this.isValidBlock(world.getBlockState(blockposition)) ? false : entityhuman.canInteractWithBlock(blockposition, 4.0D);
|
|
}, true);
|