mirror of
https://github.com/ProjectSWGCore/NGECore2.git
synced 2026-10-05 20:12:51 -04:00
fixed startup error
This commit is contained in:
@@ -4,10 +4,10 @@ from jarray import array
|
||||
def addCityRankCaps(core):
|
||||
|
||||
cityService = core.playerCityService
|
||||
cityService.addCityRankCap('corellia', array([20, 20, 15, 10, 10], 'i')
|
||||
cityService.addCityRankCap('corellia', array([20, 20, 15, 10, 10], 'i'))
|
||||
cityService.addCityRankCap('dantooine', array([50, 50, 30, 20, 20], 'i'))
|
||||
cityService.addCityRankCap('lok', array([50, 50, 30, 20, 20], 'i'))
|
||||
cityService.addCityRankCap('naboo', array([20, 20, 15, 10, 10], 'i')
|
||||
cityService.addCityRankCap('naboo', array([20, 20, 15, 10, 10], 'i'))
|
||||
cityService.addCityRankCap('rori', array([50, 50, 30, 20, 20], 'i'))
|
||||
cityService.addCityRankCap('talus', array([50, 50, 30, 20, 20], 'i'))
|
||||
cityService.addCityRankCap('tatooine', array([20, 20, 15, 10, 10], 'i')
|
||||
cityService.addCityRankCap('tatooine', array([20, 20, 15, 10, 10], 'i'))
|
||||
@@ -520,7 +520,7 @@ public class NGECore {
|
||||
staticService.spawnStatics();
|
||||
|
||||
equipmentService.loadBonusSets();
|
||||
|
||||
playerCityService.loadCityRankCaps();
|
||||
retroService.run();
|
||||
|
||||
didServerCrash = false;
|
||||
|
||||
@@ -65,6 +65,9 @@ public class PlayerCityService implements INetworkDispatch {
|
||||
|
||||
public PlayerCityService(NGECore core) {
|
||||
this.core = core;
|
||||
}
|
||||
|
||||
public void loadCityRankCaps() {
|
||||
core.scriptService.callScript("scripts/", "cityRankCaps", "addCityRankCaps", core);
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user