geforkt von Mirrors/Paper
NPE fix in redstone
Dieser Commit ist enthalten in:
Ursprung
c06f3e0d76
Commit
786fdfb9fe
@ -280,7 +280,7 @@ public class BlockRedstoneWire extends Block {
|
|||||||
if (!flag) {
|
if (!flag) {
|
||||||
this.b_(world, i, j, k, i1);
|
this.b_(world, i, j, k, i1);
|
||||||
world.e(i, j, k, 0);
|
world.e(i, j, k, 0);
|
||||||
} else if(Block.byId[l].c() || Block.DIODE_OFF.id == l && Block.DIODE_ON.id == l) { //condition added by Craftbukkit
|
} else if((Block.byId[l] != null && Block.byId[l].c()) || Block.DIODE_OFF.id == l && Block.DIODE_ON.id == l) { //condition added by Craftbukkit
|
||||||
this.g(world, i, j, k);
|
this.g(world, i, j, k);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Laden…
In neuem Issue referenzieren
Einen Benutzer sperren