버그 수정

This commit is contained in:
2019-04-21 22:29:08 +09:00
parent 9268ca51da
commit 3f2cf23f47
12 changed files with 104 additions and 66 deletions
+2 -2
View File
@@ -267,10 +267,10 @@ class NPC{
$city = $this->locatedCity;
if(is_int($city)){
$city = CityConst::byID($city)['id']??null;
$city = CityConst::byID($city)->id??null;
}
else if(is_string($city)){
$city = CityConst::byName($city)['id']??null;
$city = CityConst::byName($city)->id??null;
}
if($city === null){
if($nationID == 0 || !CityHelper::getAllNationCities($nationID)){