fixed loading of server templates

This commit is contained in:
Light2
2013-12-08 19:04:43 +01:00
parent 4038205994
commit d9997bd796
+1 -1
View File
@@ -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);