Jackhammers can't break obsidan anymore. Closes #2235

This commit is contained in:
drcrazy 2020-10-06 23:00:49 +03:00
parent 742046095b
commit bf603744a5

View file

@ -184,10 +184,10 @@ public class ToolsUtil {
return true;
}
if (blockState.isOf(Blocks.OBSIDIAN) || blockState.isOf(Blocks.CRYING_OBSIDIAN)){
return false;
return true;
}
if (blockState.isOf(Blocks.ANCIENT_DEBRIS)){
return false;
return true;
}
return blockState.getBlock() instanceof RedstoneOreBlock;
}