Mirror von
https://github.com/PaperMC/Paper.git
synchronisiert 2024-11-16 21:10:17 +01:00
Redstone fixes
Dieser Commit ist enthalten in:
Ursprung
9428907e62
Commit
803e67d55d
@ -262,7 +262,7 @@ public class BlockRedstoneWire extends Block {
|
||||
}
|
||||
}
|
||||
|
||||
private int g(World world, int i, int j, int k, int l) {
|
||||
public int g(World world, int i, int j, int k, int l) { //Craftbukkit made public
|
||||
if (world.getTypeId(i, j, k) != this.id) {
|
||||
return l;
|
||||
} else {
|
||||
@ -280,7 +280,7 @@ public class BlockRedstoneWire extends Block {
|
||||
if (!flag) {
|
||||
this.b_(world, i, j, k, i1);
|
||||
world.e(i, j, k, 0);
|
||||
} else {
|
||||
} else if(Block.byId[l].c() || Block.DIODE_OFF.id == l && Block.DIODE_ON.id == l) { //condition added by Craftbukkit
|
||||
this.g(world, i, j, k);
|
||||
}
|
||||
|
||||
|
Laden…
In neuem Issue referenzieren
Einen Benutzer sperren