From 50848997470cf3d74abb6405736a908b16fd47d8 Mon Sep 17 00:00:00 2001 From: md_5 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. --- nms-patches/BlockMinecartTrackAbstract.patch | 11 +++++++++++ 1 file changed, 11 insertions(+) create mode 100644 nms-patches/BlockMinecartTrackAbstract.patch diff --git a/nms-patches/BlockMinecartTrackAbstract.patch b/nms-patches/BlockMinecartTrackAbstract.patch new file mode 100644 index 0000000000..922347c7f3 --- /dev/null +++ b/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 {