fix: 임관 제어 코드에서 () 누락

This commit is contained in:
2022-01-02 22:50:42 +09:00
parent 099bcdaf8f
commit bd1f7adc0c
+1 -1
View File
@@ -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;
}