summaryrefslogtreecommitdiffstats
path: root/nms-patches/BlockMinecartTrackAbstract.patch
blob: 922347c7f36c479c718ac37eaa959d33d8cda819 (plain)
1
2
3
4
5
6
7
8
9
10
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 {