Skip to content

Commit 8a06cad

Browse files
committed
dont keep if null
1 parent 0107cac commit 8a06cad

File tree

1 file changed

+3
-1
lines changed
  • common/src/main/kotlin/com/lambda/interaction/request/breaking

1 file changed

+3
-1
lines changed

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

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -59,7 +59,9 @@ object BreakManager : RequestHandler<BreakRequest>() {
5959

6060
init {
6161
listen<TickEvent.Pre>(Int.MIN_VALUE) {
62-
updateRequest(true) { true }
62+
info("${breakingInfos.count { it != null }}")
63+
64+
updateRequest { true }
6365

6466
for (it in breakingInfos.reversed()) {
6567
if (interaction.blockBreakingCooldown > 0) {

0 commit comments

Comments
 (0)