Skip to content

Commit c1f6bab

Browse files
committed
use configured swap pause coerced at least
1 parent bf131fc commit c1f6bab

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/main/kotlin/com/lambda/interaction/request/breaking/BreakManager.kt

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -438,7 +438,7 @@ object BreakManager : RequestHandler<BreakRequest>(
438438
context.hotbarIndex,
439439
request.hotbar,
440440
request.hotbar.keepTicks.coerceAtLeast(minKeepTicks),
441-
serverSwapTicks - 1
441+
request.hotbar.swapPause.coerceAtLeast(serverSwapTicks - 1)
442442
).submit(false)
443443
}
444444
logger.debug("Submitted hotbar request", hotbarRequest)

0 commit comments

Comments
 (0)