mirror of
https://github.com/Eyre-S/Coeur-Morny-Cono.git
synced 2024-11-22 03:04:54 +08:00
fix EventEnv's StateSource misaligned
This commit is contained in:
parent
c632df4cd8
commit
50ca14f593
@ -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
|
||||
|
Loading…
Reference in New Issue
Block a user