天赋选择神秘的盒子的时候有概率报错
2024-12-13 10:47:31 W/LifeRestarter: Exception in executing command [mirai:source:ids=[], internalIds=[], from group to at ]/remake start
command owned by LifeRestarter v0.1.1 with NormalMember()
java.lang.NullPointerException
at life-restart-bot-0.2.2.mirai2.jar//com.github.hatoyuze.restarter.game.entity.Life.finishUserEvent(Life.kt:54)
at life-restart-bot-0.2.2.mirai2.jar//com.github.hatoyuze.restarter.game.entity.Life.nextEvents(Life.kt:42)
at life-restart-bot-0.2.2.mirai2.jar//com.github.hatoyuze.restarter.game.entity.Life.next(Life.kt:124)
at life-restart-bot-0.2.2.mirai2.jar//com.github.hatoyuze.restarter.game.LifeEngine$iterator$1.next(LifeEngine.kt:65)
at life-restart-bot-0.2.2.mirai2.jar//com.github.hatoyuze.restarter.game.LifeEngine$iterator$1.next(LifeEngine.kt:59)
at kotlin.sequences.SequencesKt___SequencesKt.toCollection(_Sequences.kt:787)
at kotlin.sequences.SequencesKt___SequencesKt.toMutableList(_Sequences.kt:817)
at kotlin.sequences.SequencesKt___SequencesKt.toList(_Sequences.kt:808)
at life-restart-bot-0.2.2.mirai2.jar//com.github.hatoyuze.restarter.mirai.RestartLifeCommand.start(RestartLifeCommand.kt:66)
at life-restart-bot-0.2.2.mirai2.jar//com.github.hatoyuze.restarter.mirai.RestartLifeCommand$start$1.invokeSuspend(RestartLifeCommand.kt)
at kotlin.coroutines.jvm.internal.BaseContinuationImpl.resumeWith(ContinuationImpl.kt:33)
at kotlinx.coroutines.internal.ScopeCoroutine.afterResume(Scopes.kt:33)
at kotlinx.coroutines.AbstractCoroutine.resumeWith(AbstractCoroutine.kt:102)
at kotlin.coroutines.jvm.internal.BaseContinuationImpl.resumeWith(ContinuationImpl.kt:46)
at kotlinx.coroutines.internal.ScopeCoroutine.afterResume(Scopes.kt:33)
at kotlinx.coroutines.AbstractCoroutine.resumeWith(AbstractCoroutine.kt:102)
at kotlin.coroutines.jvm.internal.BaseContinuationImpl.resumeWith(ContinuationImpl.kt:46)
at kotlinx.coroutines.DispatchedTask.run(DispatchedTask.kt:106)
at kotlinx.coroutines.scheduling.CoroutineScheduler.runSafely(CoroutineScheduler.kt:570)
at kotlinx.coroutines.scheduling.CoroutineScheduler$Worker.executeTask(CoroutineScheduler.kt:750)
at kotlinx.coroutines.scheduling.CoroutineScheduler$Worker.runWorker(CoroutineScheduler.kt:677)
at kotlinx.coroutines.scheduling.CoroutineScheduler$Worker.run(CoroutineScheduler.kt:664)