mirror of
https://github.com/PaperMC/Paper.git
synced 2025-01-09 03:43:40 +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. By: md_5 <git@md-5.net>
This commit is contained in:
parent
a691408b2c
commit
0bd951b1a4
1 changed files with 11 additions and 0 deletions
11
paper-server/nms-patches/BlockMinecartTrackAbstract.patch
Normal file
11
paper-server/nms-patches/BlockMinecartTrackAbstract.patch
Normal file
|
@ -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 {
|
Loading…
Reference in a new issue