From 0bd951b1a44dc0267d285e3a8bbf7b1315b94c79 Mon Sep 17 00:00:00 2001 From: CraftBukkit/Spigot Date: Fri, 29 May 2015 19:45:17 +1000 Subject: [PATCH] [SPIGOT-424, MC-73474] Add fix for powered rail duplication. No redstone related side effects that we know of and hopefully there are none. Please report any to the tracker. By: md_5 --- .../nms-patches/BlockMinecartTrackAbstract.patch | 11 +++++++++++ 1 file changed, 11 insertions(+) create mode 100644 paper-server/nms-patches/BlockMinecartTrackAbstract.patch diff --git a/paper-server/nms-patches/BlockMinecartTrackAbstract.patch b/paper-server/nms-patches/BlockMinecartTrackAbstract.patch new file mode 100644 index 0000000000..922347c7f3 --- /dev/null +++ b/paper-server/nms-patches/BlockMinecartTrackAbstract.patch @@ -0,0 +1,11 @@ +--- a/net/minecraft/server/BlockMinecartTrackAbstract.java ++++ b/net/minecraft/server/BlockMinecartTrackAbstract.java +@@ -87,7 +87,7 @@ + flag = true; + } + +- if (flag) { ++ if (flag && !world.isEmpty(blockposition)) { // CraftBukkit - SPIGOT-424, MC-73474 + this.b(world, blockposition, iblockdata, 0); + world.setAir(blockposition); + } else {