The Terra Shatterer now only breaks blocks in the server side. Should fix #372.

This commit is contained in:
Lizbeth Rika committed 2014-11-15 19:28:51 +00:00
1 parent 9c50f4f214
commit 26aa2ab0ae
1 file changed
+1 -1
@@ -67,7 +67,7 @@ public final class ToolCommons {
return;
Material mat = world.getBlock(x, y, z).getMaterial();
if(blk != null && !blk.isAir(world, x, y, z) && blk.getPlayerRelativeBlockHardness(player, world, x, y, z) != 0) {
if(!world.isRemote && blk != null && !blk.isAir(world, x, y, z) && blk.getPlayerRelativeBlockHardness(player, world, x, y, z) != 0) {
new ArrayList();
if(!blk.canHarvestBlock(player, meta) || !isRightMaterial(mat, materialsListing))