added correction

This commit is contained in:
Jörg Henke 2020-08-15 23:14:59 +02:00
parent 09ff389ea6
commit 35b60fcae7

View File

@ -34,7 +34,7 @@ public class ToolSpeedpowderShovel extends ShovelItem implements ToolRangeable {
@Override
public boolean canBreakNeigbbors(BlockState blockIn) {
return isEffectiveOn(blockIn) || SHOVEL_EFFECTIVE_ON.contains(blockIn.getBlock()) || checkExternalBlock(blockIn.getBlock());
return SHOVEL_EFFECTIVE_ON.contains(blockIn.getBlock()) || checkExternalBlock(blockIn.getBlock());
}
private boolean checkExternalBlock(Block block) {