mirror of
https://github.com/Eyre-S/Coeur-Morny-Cono.git
synced 2024-11-24 20:17:38 +08:00
fix EventEnv's StateSource misaligned
This commit is contained in:
parent
c632df4cd8
commit
50ca14f593
@ -28,11 +28,11 @@ class EventEnv (
|
|||||||
|
|
||||||
//noinspection UnitMethodIsParameterless
|
//noinspection UnitMethodIsParameterless
|
||||||
def setEventOk: Unit =
|
def setEventOk: Unit =
|
||||||
_status += State.OK(StackUtils.getStackTrace(1)(1))
|
_status += State.OK(StackUtils.getStackTrace(1)(0))
|
||||||
|
|
||||||
//noinspection UnitMethodIsParameterless
|
//noinspection UnitMethodIsParameterless
|
||||||
def setEventCanceled: Unit =
|
def setEventCanceled: Unit =
|
||||||
_status += State.CANCELED(StackUtils.getStackTrace(1)(1))
|
_status += State.CANCELED(StackUtils.getStackTrace(1)(0))
|
||||||
|
|
||||||
def state: State|Null =
|
def state: State|Null =
|
||||||
_status.lastOption match
|
_status.lastOption match
|
||||||
|
Loading…
Reference in New Issue
Block a user