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 (event.newState.matches(pending.context.cachedState))
80
-
return@listen
81
-
79
+
val currentState = pending.context.cachedState
82
80
// return if the block's not broken
83
-
if (isNotBroken(pending.context.cachedState, event.newState)) {
81
+
if (isNotBroken(currentState, event.newState)) {
82
+
// return if the state hasn't changed
83
+
if (event.newState.matches(currentState, ProcessorRegistry.postProcessedProperties))
84
+
return@listen
85
+
84
86
if (!pending.isReBreaking) {
85
87
this@BrokenBlockHandler.warn("Broken block at ${event.pos.toShortString()} was rejected with ${event.newState} instead of ${pending.context.cachedState.emptyState}")
0 commit comments