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', [