You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
if (!isBroken(info.context.checkedState, event.newState)) {
154
-
this@BreakManager.warn("Break at ${event.pos.toShortString()} was rejected with ${event.newState} instead of ${info.context.checkedState.brokenState}")
154
+
if (isNotBroken(info.context.checkedState, event.newState)) {
155
+
this@BreakManager.warn("Break at ${event.pos.toShortString()} was rejected with ${event.newState} instead of ${info.context.checkedState.emptyState}")
if (!isBroken(pending.context.checkedState, event.newState)) {
83
+
if (isNotBroken(pending.context.checkedState, event.newState)) {
83
84
if (!pending.isReBreaking) {
84
-
this@BrokenBlockHandler.warn("Broken block at ${event.pos.toShortString()} was rejected with ${event.newState} instead of ${pending.context.checkedState.brokenState}")
85
+
this@BrokenBlockHandler.warn("Broken block at ${event.pos.toShortString()} was rejected with ${event.newState} instead of ${pending.context.checkedState.emptyState}")
85
86
pending.stopPending()
86
87
} else {
87
88
pending.context.checkedState = event.newState
@@ -174,7 +175,7 @@ object BrokenBlockHandler {
174
175
returnfalse
175
176
val block = ctx.checkedState.block
176
177
if (block isOperatorBlock&&!player.isCreativeLevelTwoOp) returnfalse
0 commit comments