From bd1f7adc0c60edcae7bffa07e71cfcf652a744b8 Mon Sep 17 00:00:00 2001 From: hide_d Date: Sun, 2 Jan 2022 22:50:42 +0900 Subject: [PATCH] =?UTF-8?q?fix:=20=EC=9E=84=EA=B4=80=20=EC=A0=9C=EC=96=B4?= =?UTF-8?q?=20=EC=BD=94=EB=93=9C=EC=97=90=EC=84=9C=20()=20=20=EB=88=84?= =?UTF-8?q?=EB=9D=BD?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- hwe/sammo/Constraint/AllowJoinDestNation.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/hwe/sammo/Constraint/AllowJoinDestNation.php b/hwe/sammo/Constraint/AllowJoinDestNation.php index 1acef977..7f24cc4a 100644 --- a/hwe/sammo/Constraint/AllowJoinDestNation.php +++ b/hwe/sammo/Constraint/AllowJoinDestNation.php @@ -50,7 +50,7 @@ class AllowJoinDestNation extends Constraint{ return false; } - if($this->general['npc']??2 < 2 && \str_starts_with($this->destNation['name'], 'ⓤ')){ + if(($this->general['npc']??2 < 2) && \str_starts_with($this->destNation['name'], 'ⓤ')){ $this->reason = "유저장은 태수국에 임관할 수 없습니다."; return false; }