diff --git a/src/main/java/techreborn/items/tool/DrillItem.java b/src/main/java/techreborn/items/tool/DrillItem.java index 940d5ae1a..6dae09ee4 100644 --- a/src/main/java/techreborn/items/tool/DrillItem.java +++ b/src/main/java/techreborn/items/tool/DrillItem.java @@ -82,6 +82,10 @@ public class DrillItem extends PickaxeItem implements EnergyHolder, ItemDurabili // PickaxeItem @Override public boolean isEffectiveOn(BlockState blockIn) { + if(blockIn == null){ + return false; + } + if (Items.DIAMOND_PICKAXE.isEffectiveOn(blockIn)) { return true; }