Fixed block ghosting when loading a world

This commit is contained in:
Sollace 2023-11-07 15:42:20 +00:00
parent 16b90e208b
commit 034cc77808
No known key found for this signature in database
GPG key ID: E52FACE7B5C773DB

View file

@ -59,7 +59,7 @@ public class CloudBlock extends Block {
entity.handleFallDamage(fallDistance, 0, world.getDamageSources().fall()); entity.handleFallDamage(fallDistance, 0, world.getDamageSources().fall());
generateSurfaceParticles(world, state, pos, ShapeContext.absent(), 9); generateSurfaceParticles(world, state, pos, ShapeContext.absent(), 9);
if (fallDistance > 7) { if (!world.isClient && fallDistance > 7) {
world.breakBlock(pos, true); world.breakBlock(pos, true);
} }
} }