MythicNetwork/MythicSpigot-master/TacoSpigot-Server/nms-patches/BlockMinecartTrackAbstract.patch
2023-05-25 00:58:23 +01:00

12 lines
434 B
Diff

--- 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 {