diff options
Diffstat (limited to 'nms-patches/BlockMinecartTrackAbstract.patch')
-rw-r--r-- | nms-patches/BlockMinecartTrackAbstract.patch | 15 |
1 files changed, 7 insertions, 8 deletions
diff --git a/nms-patches/BlockMinecartTrackAbstract.patch b/nms-patches/BlockMinecartTrackAbstract.patch index 922347c7..755761e7 100644 --- a/nms-patches/BlockMinecartTrackAbstract.patch +++ b/nms-patches/BlockMinecartTrackAbstract.patch @@ -1,11 +1,10 @@ --- a/net/minecraft/server/BlockMinecartTrackAbstract.java +++ b/net/minecraft/server/BlockMinecartTrackAbstract.java -@@ -87,7 +87,7 @@ - flag = true; - } +@@ -10,6 +10,7 @@ + protected static final AxisAlignedBB b = new AxisAlignedBB(0.0D, 0.0D, 0.0D, 1.0D, 0.15625D, 1.0D); + protected final boolean c; -- if (flag) { -+ if (flag && !world.isEmpty(blockposition)) { // CraftBukkit - SPIGOT-424, MC-73474 - this.b(world, blockposition, iblockdata, 0); - world.setAir(blockposition); - } else { ++ // PAIL: We stage this entire file just to unsynthetic this method. We should rename and AT it in future + public static boolean b(World world, BlockPosition blockposition) { + return i(world.getType(blockposition)); + } |