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 d4ead6a commit beff62fCopy full SHA for beff62f
src/main/kotlin/com/lambda/interaction/managers/breaking/BreakManager.kt
@@ -799,7 +799,8 @@ object BreakManager : Manager<BreakRequest>(
799
if (instantBreakable) {
800
info.vanillaInstantBreakable = progress >= 1
801
onBlockBreak(info)
802
- if (!info.vanillaInstantBreakable) breakCooldown = breakConfig.breakDelay + 1
+ if (!info.vanillaInstantBreakable)
803
+ breakCooldown = if (breakConfig.breakDelay == 0) 0 else breakConfig.breakDelay + 1
804
} else {
805
info.apply {
806
breaking = true
0 commit comments