diff --git a/src/main/java/net/minestom/server/listener/BlockPlacementListener.java b/src/main/java/net/minestom/server/listener/BlockPlacementListener.java index 531c7c9c2..54fcdd4fc 100644 --- a/src/main/java/net/minestom/server/listener/BlockPlacementListener.java +++ b/src/main/java/net/minestom/server/listener/BlockPlacementListener.java @@ -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;