mirror of
https://github.com/PaperMC/Paper.git
synced 2025-01-28 03:01:31 +01:00
[Bleeding] Prevent BlockSnow from recursively calling a physics update.
This commit is contained in:
parent
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;
|
||||
|
Loading…
Reference in New Issue
Block a user