Update to Minecraft 1.12.2

By: md_5 <git@md-5.net>
This commit is contained in:
CraftBukkit/Spigot
2017-09-18 20:00:00 +10:00
parent 65ab757f26
commit 5e3ba4ff73
23 changed files with 120 additions and 148 deletions

View File

@@ -181,7 +181,7 @@
}
}
public boolean a(EntityHuman entityhuman) {
public boolean canUse(EntityHuman entityhuman) {
+ if (!this.checkReachable) return true; // CraftBukkit
return this.world.getType(this.position).getBlock() != Blocks.ENCHANTING_TABLE ? false : entityhuman.d((double) this.position.getX() + 0.5D, (double) this.position.getY() + 0.5D, (double) this.position.getZ() + 0.5D) <= 64.0D;
}