We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent f28c193 commit 2dcb073Copy full SHA for 2dcb073
src/main/kotlin/com/lambda/interaction/material/StackSelection.kt
@@ -165,7 +165,7 @@ class StackSelection {
165
ItemUtils.tools.any { it.getMiningSpeed(it.defaultStack, blockState) > 1f }
166
}
167
if (hasEfficientTool) itemStack.item.getMiningSpeed(itemStack, blockState) > 1f
168
- else false
+ else true
169
170
171
fun isSuitableForBreaking(blockState: BlockState): (ItemStack) -> Boolean = { !blockState.isToolRequired || it.isSuitableFor(blockState) }
0 commit comments