Fixed issue with Promoter Hotel Spawner.

This commit is contained in:
Cekis
2016-08-11 08:47:44 +01:00
parent 82e97ee2ca
commit de46193df8
@@ -28,7 +28,7 @@ public class promoter_hotel_spawner extends script.base_script
return SCRIPT_CONTINUE;
}
// there's a special NPC (Zekka Thyne) in the Coronet hotel so avoid spawning the promoter on top of him.
if(myCity.equals("coronet") || myCity.equals("narmle")) {
if(myCity != null && (myCity.equals("coronet") || myCity.equals("narmle"))) {
spawnPoint.x = -25.3f;
spawnPoint.y = 1.6f;
spawnPoint.z = -5.5f;