elevate-spigot/TacoSpigot-Server/nms-patches/BlockMinecartTrackAbstract.patch

12 lines
434 B
Diff
Raw Normal View History

2022-06-22 19:29:55 +02:00
--- 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 {