fix: StaticEventHandler 버그 수정
This commit is contained in:
@@ -34,7 +34,7 @@ class 휴식 extends Command\NationCommand{
|
||||
|
||||
public function run(\Sammo\RandUtil $rng):bool{
|
||||
$this->setResultTurn(new LastTurn(static::getName(), $this->arg));
|
||||
StaticEventHandler::handleEvent($this->generalObj, $this->destGeneralObj, $this::class, $this->env, $this->arg);
|
||||
StaticEventHandler::handleEvent($this->generalObj, $this->destGeneralObj, $this::class, $this->env, $this->arg ?? []);
|
||||
return true;
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user