Jackhammers can't break obsidan anymore. Closes #2235
This commit is contained in:
parent
b6641ad2ba
commit
742046095b
1 changed files with 6 additions and 0 deletions
|
@ -183,6 +183,12 @@ public class ToolsUtil {
|
||||||
if (blockState.getBlock() instanceof OreBlock) {
|
if (blockState.getBlock() instanceof OreBlock) {
|
||||||
return true;
|
return true;
|
||||||
}
|
}
|
||||||
|
if (blockState.isOf(Blocks.OBSIDIAN) || blockState.isOf(Blocks.CRYING_OBSIDIAN)){
|
||||||
|
return false;
|
||||||
|
}
|
||||||
|
if (blockState.isOf(Blocks.ANCIENT_DEBRIS)){
|
||||||
|
return false;
|
||||||
|
}
|
||||||
return blockState.getBlock() instanceof RedstoneOreBlock;
|
return blockState.getBlock() instanceof RedstoneOreBlock;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in a new issue