mirror of
https://github.com/ProjectSWGCore/NGECore2.git
synced 2026-07-31 01:15:57 -04:00
fixed loading of server templates
This commit is contained in:
@@ -175,7 +175,7 @@ public class SimulationService implements INetworkDispatch {
|
||||
|
||||
public boolean add(SWGObject object, float x, float y, boolean notifyObservers) {
|
||||
object.setIsInQuadtree(true);
|
||||
//core.objectService.loadServerTemplate(object);
|
||||
core.objectService.loadServerTemplate(object);
|
||||
boolean success = quadTrees.get(object.getPlanet().getName()).put(x, y, object);
|
||||
if(success && notifyObservers) {
|
||||
Point3D pos = new Point3D(x, 0, y);
|
||||
|
||||
Reference in New Issue
Block a user