Fixed the double block break in Creative mode (#642)

* this seems unnecessary

* fixed the double block break on single click
This commit is contained in:
Marvelco
2026-03-06 02:48:27 +02:00
committed by GitHub
parent 8398eb16b8
commit b7b29c0b7b
2 changed files with 4 additions and 8 deletions

View File

@@ -86,13 +86,6 @@ bool MultiPlayerGameMode::destroyBlock(int x, int y, int z, int face)
if (oldTile == NULL) return false;
#ifdef _WINDOWS64
if (g_NetworkManager.IsHost())
{
level->levelEvent(LevelEvent::PARTICLES_DESTROY_BLOCK, x, y, z, oldTile->id + (level->getData(x, y, z) << Tile::TILE_NUM_SHIFT));
}
#endif
level->levelEvent(LevelEvent::PARTICLES_DESTROY_BLOCK, x, y, z, oldTile->id + (level->getData(x, y, z) << Tile::TILE_NUM_SHIFT));
int data = level->getData(x, y, z);