From 91188c555dce0f3e00ee3a59682fef1ed6433779 Mon Sep 17 00:00:00 2001 From: Hide_D Date: Wed, 22 Jan 2025 18:16:37 +0000 Subject: [PATCH] =?UTF-8?q?fix:=20=EC=BB=A4=EB=A7=A8=EB=93=9C=EC=9D=98=20a?= =?UTF-8?q?ux=EA=B0=92=EA=B0=92?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- hwe/sammo/Command/General/che_건국.php | 2 +- hwe/sammo/Command/General/che_무작위건국.php | 2 +- hwe/sammo/Command/General/cr_건국.php | 2 +- hwe/sammo/Command/Nation/che_국기변경.php | 2 +- hwe/sammo/Command/Nation/che_국호변경.php | 2 +- hwe/sammo/Command/Nation/che_무작위수도이전.php | 2 +- 6 files changed, 6 insertions(+), 6 deletions(-) diff --git a/hwe/sammo/Command/General/che_건국.php b/hwe/sammo/Command/General/che_건국.php index 431e198c..b24f7da1 100644 --- a/hwe/sammo/Command/General/che_건국.php +++ b/hwe/sammo/Command/General/che_건국.php @@ -183,7 +183,7 @@ class che_건국 extends Command\GeneralCommand $general->addExperience($exp); $general->addDedication($ded); - $aux = Json::decode($this->nation['aux']) ?? []; + $aux = $this->nation['aux']; $aux['can_국기변경'] = 1; $db->update('city', [ diff --git a/hwe/sammo/Command/General/che_무작위건국.php b/hwe/sammo/Command/General/che_무작위건국.php index 1020ff62..8e2466b0 100644 --- a/hwe/sammo/Command/General/che_무작위건국.php +++ b/hwe/sammo/Command/General/che_무작위건국.php @@ -194,7 +194,7 @@ class che_무작위건국 extends Command\GeneralCommand $general->addExperience($exp); $general->addDedication($ded); - $aux = Json::decode($this->nation['aux']) ?? []; + $aux = $this->nation['aux']; $aux['can_국기변경'] = 1; $aux['can_무작위수도이전'] = 1; diff --git a/hwe/sammo/Command/General/cr_건국.php b/hwe/sammo/Command/General/cr_건국.php index 392971bf..e8536ced 100644 --- a/hwe/sammo/Command/General/cr_건국.php +++ b/hwe/sammo/Command/General/cr_건국.php @@ -180,7 +180,7 @@ class cr_건국 extends Command\GeneralCommand $general->addExperience($exp); $general->addDedication($ded); - $aux = Json::decode($this->nation['aux']) ?? []; + $aux = $this->nation['aux']; $aux['can_국기변경'] = 1; $db->update('city', [ diff --git a/hwe/sammo/Command/Nation/che_국기변경.php b/hwe/sammo/Command/Nation/che_국기변경.php index 2878798d..6fcdbf64 100644 --- a/hwe/sammo/Command/Nation/che_국기변경.php +++ b/hwe/sammo/Command/Nation/che_국기변경.php @@ -122,7 +122,7 @@ class che_국기변경 extends Command\NationCommand $josaYi = JosaUtil::pick($generalName, '이'); $josaYiNation = JosaUtil::pick($nationName, '이'); - $aux = Json::decode($this->nation['aux']); + $aux = $this->nation['aux']; $aux["can_{$actionName}"] = 0; $db->update('nation', [ diff --git a/hwe/sammo/Command/Nation/che_국호변경.php b/hwe/sammo/Command/Nation/che_국호변경.php index 05c5543e..1aaa9970 100644 --- a/hwe/sammo/Command/Nation/che_국호변경.php +++ b/hwe/sammo/Command/Nation/che_국호변경.php @@ -140,7 +140,7 @@ class che_국호변경 extends Command\NationCommand $josaYi = JosaUtil::pick($generalName, '이'); $josaYiNation = JosaUtil::pick($nationName, '이'); - $aux = Json::decode($this->nation['aux']); + $aux = $this->nation['aux']; $aux["can_{$actionName}"] = 0; $db->update('nation', [ diff --git a/hwe/sammo/Command/Nation/che_무작위수도이전.php b/hwe/sammo/Command/Nation/che_무작위수도이전.php index aff9d423..1388dd24 100644 --- a/hwe/sammo/Command/Nation/che_무작위수도이전.php +++ b/hwe/sammo/Command/Nation/che_무작위수도이전.php @@ -119,7 +119,7 @@ class che_무작위수도이전 extends Command\NationCommand $josaYi = JosaUtil::pick($generalName, '이'); $josaYiNation = JosaUtil::pick($nationName, '이'); - $aux = Json::decode($this->nation['aux']); + $aux = $this->nation['aux']; $aux["can_무작위수도이전"] -= 1; $db->update('city', [