mirror of
https://github.com/GTNewHorizons/Botania.git
synced 2026-11-20 12:19:46 +00:00
The Terra Shatterer now only breaks blocks in the server side. Should fix #372.
This commit is contained in:
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))
|
||||
|
||||
Reference in new issue
Block a user