geforkt von Mirrors/Paper
[Bleeding] Prevent BlockSnow from recursively calling a physics update.
Dieser Commit ist enthalten in:
Ursprung
1d4a9e1df5
Commit
387d7319bc
@ -45,7 +45,8 @@ public class BlockSnow extends Block {
|
||||
private boolean g(World world, int i, int j, int k) {
|
||||
if (!this.canPlace(world, i, j, k)) {
|
||||
this.b(world, i, j, k, world.getData(i, j, k), 0);
|
||||
world.setTypeId(i, j, k, 0);
|
||||
world.setRawTypeId(i, j, k, 0); // CraftBukkit
|
||||
world.notify(i, j, k); // CraftBukkit - Notfiy clients of the reversion
|
||||
return false;
|
||||
} else {
|
||||
return true;
|
||||
|
Laden…
In neuem Issue referenzieren
Einen Benutzer sperren