mirror of
https://github.com/GTNewHorizons/Botania.git
synced 2026-11-20 12:19:46 +00:00
Fixed Terra Shatterer crashes in 1.7.2.
This commit is contained in:
1 parent
240b65bfb7
commit
7ba4d349b9
1 file changed
+1
-1
@@ -76,7 +76,7 @@ public final class ToolCommons {
|
||||
|
||||
if(!player.capabilities.isCreativeMode && blk != Blocks.bedrock) {
|
||||
int localMeta = world.getBlockMetadata(x, y, z);
|
||||
if (blk.removedByPlayer(world, player, x, y, z, true))
|
||||
if (blk.removedByPlayer(world, player, x, y, z))
|
||||
blk.onBlockDestroyedByPlayer(world, x, y, z, localMeta);
|
||||
|
||||
damageItem(stack, 1, player, 80);
|
||||
|
||||
Reference in new issue
Block a user