Skip to content

Commit b02a452

Browse files
committed
undo small "fix" i made because it wasnt broken to begin with and i broke it with the "fix"
1 parent e5d64c4 commit b02a452

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

common/src/main/kotlin/com/lambda/interaction/request/breaking/BrokenBlockHandler.kt

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -59,7 +59,7 @@ object BrokenBlockHandler : PostActionHandler<BreakInfo>() {
5959
if (!info.broken) warn("${info::class.simpleName} at ${info.context.blockPos.toShortString()} timed out")
6060
else if (!TaskFlowModule.ignoreItemDropWarnings) warn("${info::class.simpleName}'s item drop at ${info.context.blockPos.toShortString()} timed out")
6161

62-
if (info.broken && info.breakConfig.breakConfirmation != BreakConfirmationMode.AwaitThenBreak) {
62+
if (!info.broken && info.breakConfig.breakConfirmation != BreakConfirmationMode.AwaitThenBreak) {
6363
world.setBlockState(info.context.blockPos, info.context.cachedState)
6464
}
6565
}

0 commit comments

Comments
 (0)