diff --git a/src/main/scala/cc/sukazyo/cono/morny/bot/api/EventEnv.scala b/src/main/scala/cc/sukazyo/cono/morny/bot/api/EventEnv.scala index 9061a1f..33750c6 100644 --- a/src/main/scala/cc/sukazyo/cono/morny/bot/api/EventEnv.scala +++ b/src/main/scala/cc/sukazyo/cono/morny/bot/api/EventEnv.scala @@ -28,11 +28,11 @@ class EventEnv ( //noinspection UnitMethodIsParameterless def setEventOk: Unit = - _status += State.OK(StackUtils.getStackTrace(1)(1)) + _status += State.OK(StackUtils.getStackTrace(1)(0)) //noinspection UnitMethodIsParameterless def setEventCanceled: Unit = - _status += State.CANCELED(StackUtils.getStackTrace(1)(1)) + _status += State.CANCELED(StackUtils.getStackTrace(1)(0)) def state: State|Null = _status.lastOption match