Updated engine

This commit is contained in:
Light2
2013-12-10 17:37:20 +01:00
parent 69642c0f60
commit 4ffc7138c9
6 changed files with 9 additions and 9 deletions
+1 -2
View File
@@ -99,7 +99,7 @@ public class StaticService implements INetworkDispatch {
if (object instanceof CreatureObject) ((CreatureObject) object).setStaticNPC(true);
if(cellId == 0) {
boolean add = core.simulationService.add(object, (float) x, (float) z);
boolean add = core.simulationService.add(object, (float) x, (float) z, true);
if(!add)
System.out.println("Quadtree insert failed for: " + template);
}
@@ -110,7 +110,6 @@ public class StaticService implements INetworkDispatch {
return object;
}
parent.add(object);
core.objectService.loadServerTemplate(object);
}
return object;