mirror of
https://github.com/GTNewHorizons/Botania.git
synced 2026-11-13 16:54:06 +00:00
Fixed the Terra Shatterer doubling up on block particles and sound while in multiplayer.
This commit is contained in:
1 parent
c876f4cc22
commit
46d1b5bc2e
1 file changed
+1
-1
@@ -84,7 +84,7 @@ public final class ToolCommons {
|
||||
blk.onBlockHarvested(world, x, y, z, localMeta, player);
|
||||
} else world.setBlockToAir(x, y, z);
|
||||
|
||||
if(ConfigHandler.blockBreakParticles && ConfigHandler.blockBreakParticlesTool)
|
||||
if(ConfigHandler.blockBreakParticles && ConfigHandler.blockBreakParticlesTool && !world.isRemote)
|
||||
world.playAuxSFX(2001, x, y, z, Block.getIdFromBlock(blk) + (meta << 12));
|
||||
}
|
||||
}
|
||||
|
||||
Reference in new issue
Block a user