fixed delay issue when breaking a block

This commit is contained in:
Marvelco 2026-03-05 05:35:35 +02:00
parent f1d477c1ec
commit 5514905e8e

View file

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