mirror of
https://github.com/ProjectSWGCore/NGECore2.git
synced 2026-08-04 05:16:21 -04:00
Made all callScript functions consistent
This commit is contained in:
@@ -71,7 +71,7 @@ public class StaticService implements INetworkDispatch {
|
||||
|
||||
public void spawnPlanetStaticObjs(String planet) {
|
||||
Planet planetObj = (Planet) core.terrainService.getPlanetByName(planet);
|
||||
core.scriptService.callScript("scripts/static_spawns/", "addPlanetSpawns", planetObj.getName(), core, planetObj);
|
||||
core.scriptService.callScript("scripts/static_spawns/", planetObj.getName(), "addPlanetSpawns", core, planetObj);
|
||||
System.out.println("Loaded static objs for " + planetObj.getName());
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user