mirror of
https://github.com/Minestom/Minestom.git
synced 2025-01-04 23:47:59 +01:00
fix: ack block use when interacting but not placing.
(cherry picked from commit a22d769740
)
This commit is contained in:
parent
58c03cc8d2
commit
6d229a0601
@ -66,7 +66,9 @@ public class BlockPlacementListener {
|
||||
}
|
||||
}
|
||||
if (blockUse) {
|
||||
refresh(player, interactedChunk);
|
||||
// If the usage was blocked then the world is already up-to-date (from the prior handlers),
|
||||
// So ack the change with the current world state.
|
||||
player.sendPacket(new AcknowledgeBlockChangePacket(packet.sequence()));
|
||||
return;
|
||||
}
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user