fixed delay issue when breaking a block (#537)

This commit is contained in:
Marvelco 2026-03-05 09:46:38 +02:00 committed by GitHub
parent 892a6056ea
commit c77bb4dae4
No known key found for this signature in database
GPG key ID: B5690EEEBB952194

View file

@ -90,7 +90,6 @@ bool MultiPlayerGameMode::destroyBlock(int x, int y, int z, int face)
if (g_NetworkManager.IsHost())
{
level->levelEvent(LevelEvent::PARTICLES_DESTROY_BLOCK, x, y, z, oldTile->id + (level->getData(x, y, z) << Tile::TILE_NUM_SHIFT));
return true;
}
#endif