Fix: renamed two events from character-config to scene-config.
This commit is contained in:
@@ -56,7 +56,7 @@ class SceneConfigResetCommand extends SceneBaseCommand
|
||||
]);
|
||||
|
||||
$newContext = $this->game->getEventManager()->publish(
|
||||
event: "h/lotgd/core/cli/character-config-reset/{$sceneTemplate}",
|
||||
event: "h/lotgd/core/cli/scene-config-reset/{$sceneTemplate}",
|
||||
contextData: $context
|
||||
);
|
||||
if ($newContext->get("return") != Command::SUCCESS) {
|
||||
|
||||
@@ -60,7 +60,7 @@ class SceneConfigSetCommand extends SceneBaseCommand
|
||||
"reason" => "Setting does not exist.",
|
||||
]);
|
||||
$newContext = $this->game->getEventManager()->publish(
|
||||
event: "h/lotgd/core/cli/character-config-set/{$sceneTemplate}",
|
||||
event: "h/lotgd/core/cli/scene-config-set/{$sceneTemplate}",
|
||||
contextData: $context
|
||||
);
|
||||
if ($newContext->get("return") != Command::SUCCESS) {
|
||||
|
||||
Reference in New Issue
Block a user