fix: StaticEventHandler 버그 수정

This commit is contained in:
2024-09-18 16:02:41 +00:00
parent 085f34b307
commit 4812f324e0
76 changed files with 76 additions and 76 deletions
+1 -1
View File
@@ -97,7 +97,7 @@ class che_NPC능동 extends Command\GeneralCommand{
$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 ?? []);
$general->applyDB($db);
return true;