Fixes drill breaking liquids, closes #1468
This commit is contained in:
parent
4ed1071985
commit
54a7e338c5
1 changed files with 3 additions and 0 deletions
|
@ -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;
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue