mirror of
https://github.com/Minestom/Minestom.git
synced 2025-01-02 14:38:26 +01:00
Fix block change packet
This commit is contained in:
parent
26b9ebc3f5
commit
c0c19a1e44
@ -91,7 +91,7 @@ public class BlockPlacementListener {
|
||||
//after rapid invalid block placements
|
||||
BlockChangePacket blockChangePacket = new BlockChangePacket();
|
||||
blockChangePacket.blockPosition = blockPosition;
|
||||
blockChangePacket.blockStateId = Block.AIR.getId();
|
||||
blockChangePacket.blockStateId = Block.AIR.getStateId();
|
||||
player.getPlayerConnection().sendPacket(blockChangePacket);
|
||||
}
|
||||
return;
|
||||
|
Loading…
Reference in New Issue
Block a user