From 54a7e338c5779f3f6711a34f99715d11e3d55bd3 Mon Sep 17 00:00:00 2001 From: modmuss50 Date: Thu, 29 Mar 2018 10:57:25 +0100 Subject: [PATCH] Fixes drill breaking liquids, closes #1468 --- src/main/java/techreborn/items/tools/ItemAdvancedDrill.java | 3 +++ 1 file changed, 3 insertions(+) diff --git a/src/main/java/techreborn/items/tools/ItemAdvancedDrill.java b/src/main/java/techreborn/items/tools/ItemAdvancedDrill.java index f69f4899b..6e82a1c45 100644 --- a/src/main/java/techreborn/items/tools/ItemAdvancedDrill.java +++ b/src/main/java/techreborn/items/tools/ItemAdvancedDrill.java @@ -105,6 +105,9 @@ public class ItemAdvancedDrill extends ItemDrill { if (blockHardness == -1.0F) { return; } + if(blockState.getMaterial().isLiquid()){ + return; + } if ((originalHardness / blockHardness) > 10.0F) { return; }