From a660ec4cca7c7c85bdfe3eed94bf5e28deb87729 Mon Sep 17 00:00:00 2001 From: hide_d Date: Tue, 1 Mar 2022 12:29:21 +0900 Subject: [PATCH] =?UTF-8?q?fix:=20=EC=BB=A4=EB=A7=A8=EB=93=9C=20=EC=8B=A4?= =?UTF-8?q?=ED=96=89=20=EC=A1=B0=EA=B1=B4=20=EA=B0=95=EC=A0=9C=20=ED=83=88?= =?UTF-8?q?=EC=B6=9C=20=EC=A1=B0=EA=B1=B4=EC=9D=84=20=EC=9E=98=EB=AA=BB=20?= =?UTF-8?q?=EC=9E=91=EC=84=B1=ED=95=98=EB=8A=94=20=EB=B2=84=EA=B7=B8=20?= =?UTF-8?q?=EC=88=98=EC=A0=95?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- hwe/sammo/Command/Nation/che_물자원조.php | 2 +- hwe/sammo/Command/Nation/che_천도.php | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/hwe/sammo/Command/Nation/che_물자원조.php b/hwe/sammo/Command/Nation/che_물자원조.php index 7687d68c..85a91e85 100644 --- a/hwe/sammo/Command/Nation/che_물자원조.php +++ b/hwe/sammo/Command/Nation/che_물자원조.php @@ -102,7 +102,7 @@ class che_물자원조 extends Command\NationCommand $limit = $this->nation['level'] * GameConst::$coefAidAmount; if ($goldAmount > $limit || $riceAmount > $limit) { - $this->fullConditionConstraints[ConstraintHelper::AlwaysFail('작위 제한량 이상은 보낼 수 없습니다.')]; + $this->fullConditionConstraints = [ConstraintHelper::AlwaysFail('작위 제한량 이상은 보낼 수 없습니다.')]; return; } diff --git a/hwe/sammo/Command/Nation/che_천도.php b/hwe/sammo/Command/Nation/che_천도.php index b11d6e78..1bdc795d 100644 --- a/hwe/sammo/Command/Nation/che_천도.php +++ b/hwe/sammo/Command/Nation/che_천도.php @@ -69,7 +69,7 @@ class che_천도 extends Command\NationCommand [$reqGold, $reqRice] = $this->getCost(); if ($this->getDistance() === null) { - $this->fullConditionConstraints[ConstraintHelper::AlwaysFail('천도 대상으로 도달할 방법이 없습니다.')]; + $this->fullConditionConstraints = [ConstraintHelper::AlwaysFail('천도 대상으로 도달할 방법이 없습니다.')]; return; }