mirror of
https://github.com/ProjectSWGCore/NGECore2.git
synced 2026-10-21 11:03:00 -04:00
Fixed Mos Eisley Cantina NPC Spawns
setCustomName2 on the Cantina Background NPCs no longer causes a NULL object error.
This commit is contained in:
@@ -32,11 +32,9 @@ def addLocations(core, planet):
|
||||
if planet.getName() == 'lok':
|
||||
lokLocations(core, planet)
|
||||
|
||||
#if planet.getName() == 'kaas':
|
||||
#kaasLocations(core, planet)
|
||||
|
||||
#if planet.getName() == 'taanab':
|
||||
#taanabLocations(core, planet)
|
||||
if planet.getName() == 'kaas':
|
||||
kaasLocations(core, planet)
|
||||
|
||||
|
||||
def tatooineLocations(core, planet):
|
||||
|
||||
@@ -143,19 +141,13 @@ def lokLocations(core, planet):
|
||||
mapService.addLocation(planet, 'Nym\'s Stronghold', 440, 5029, 17, 0, 0)
|
||||
mapService.addLocation(planet, 'Imperial outpost', -1920, -3084, 17, 0, 0)
|
||||
|
||||
#def kaasLocations(core, planet):
|
||||
#mapService = core.mapService
|
||||
def kaasLocations(core, planet):
|
||||
mapService = core.mapService
|
||||
|
||||
# Cities
|
||||
|
||||
#mapService.addLocation(planet, 'Imperial Outpost', -5118, -2386, 17, 0, 0)
|
||||
mapService.addLocation(planet, 'Imperial Outpost', -5118, -2386, 17, 0, 0)
|
||||
|
||||
#def taanabLocations(core, planet):
|
||||
|
||||
#mapService = core.mapService
|
||||
|
||||
# Cities
|
||||
|
||||
#mapService.addLocation(planet, 'Pandath Spaceport', 0, 0, 17, 0, 0)
|
||||
|
||||
|
||||
|
||||
Reference in New Issue
Block a user