3
0
Mirror von https://github.com/PaperMC/Paper.git synchronisiert 2024-12-18 04:20:08 +01:00

[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.
Dieser Commit ist enthalten in:
md_5 2015-05-29 19:45:17 +10:00
Ursprung 55202e1f99
Commit 5084899747

Datei anzeigen

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