This commit is contained in:
Leijurv
2018-09-07 21:32:25 -07:00
parent 9052781889
commit 132e277388
27 changed files with 114 additions and 68 deletions

View File

@@ -87,8 +87,9 @@ public class ToolSet implements Helper {
ItemStack contents = player().inventory.getStackInSlot(slot);
float blockHard = state.getBlockHardness(null, null);
if (blockHard < 0)
if (blockHard < 0) {
return -1;
}
float speed = contents.getDestroySpeed(state);
if (speed > 1) {