From 50848997470cf3d74abb6405736a908b16fd47d8 Mon Sep 17 00:00:00 2001 From: md_5 Date: Fri, 29 May 2015 19:45:17 +1000 Subject: [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 (limited to 'nms-patches/BlockMinecartTrackAbstract.patch') diff --git a/nms-patches/BlockMinecartTrackAbstract.patch b/nms-patches/BlockMinecartTrackAbstract.patch new file mode 100644 index 00000000..922347c7 --- /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 { -- cgit v1.2.3