mirror of
https://github.com/ProjectSWGCore/NGECore2.git
synced 2026-08-03 04:16:19 -04:00
Updated engine
This commit is contained in:
@@ -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;
|
||||
|
||||
Reference in New Issue
Block a user