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
@@ -10,7 +10,7 @@ class StaticEventHandler
throw new \Exception('This is a static class');
}
public static function handleEvent(General|GeneralLite $general, null|General|GeneralLite $destGeneral, string $eventType, array $env, array ...$params): void
public static function handleEvent(General|GeneralLite $general, null|General|GeneralLite $destGeneral, string $eventType, array $env, array $params): void
{
$handlersList = GameConst::$staticEventHandlers[$eventType] ?? null;
if ($handlersList === null) {