Fixes drill breaking liquids, closes #1468

This commit is contained in:
modmuss50 2018-03-29 10:57:25 +01:00
parent 4ed1071985
commit 54a7e338c5
No known key found for this signature in database
GPG key ID: 773D17BE8BF49C82

View file

@ -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;
}