Mirror von
https://github.com/PaperMC/Paper.git
synchronisiert 2024-11-17 05:20:05 +01:00
Fix diodes not updating indirect neighbors.
Dieser Commit ist enthalten in:
Ursprung
3b46222c54
Commit
39935eb3f2
@ -32,8 +32,10 @@ public class BlockDiode extends Block {
|
|||||||
|
|
||||||
if (this.c && !flag) {
|
if (this.c && !flag) {
|
||||||
world.setTypeIdAndData(i, j, k, Block.DIODE_OFF.id, l);
|
world.setTypeIdAndData(i, j, k, Block.DIODE_OFF.id, l);
|
||||||
|
this.postPlace(world, i, j, k, this.id); // CraftBukkit - update indirect neighbors
|
||||||
} else if (!this.c) {
|
} else if (!this.c) {
|
||||||
world.setTypeIdAndData(i, j, k, Block.DIODE_ON.id, l);
|
world.setTypeIdAndData(i, j, k, Block.DIODE_ON.id, l);
|
||||||
|
this.postPlace(world, i, j, k, this.id); // CraftBukkit - update indirect neighbors
|
||||||
if (!flag) {
|
if (!flag) {
|
||||||
int i1 = (l & 12) >> 2;
|
int i1 = (l & 12) >> 2;
|
||||||
|
|
||||||
|
Laden…
In neuem Issue referenzieren
Einen Benutzer sperren