fixed #325, fixed ai warping to 0 0 0

This commit is contained in:
Light2
2014-03-31 02:58:29 +02:00
parent b3bdad4b9a
commit 8a0bc99eb5
3 changed files with 8 additions and 7 deletions
+1 -1
View File
@@ -174,7 +174,7 @@ public class SimulationService implements INetworkDispatch {
public void insertSnapShotObjects() {
List<SWGObject> objectList = new ArrayList<SWGObject>(core.objectService.getObjectList().values());
for(SWGObject obj : objectList) {
if(obj.getParentId() == 0 && (obj.isInSnapshot() || obj.getAttachment("isBuildout") != null))
if(obj.getParentId() == 0 && /*(*/obj.isInSnapshot() /*|| obj.getAttachment("isBuildout") != null)*/)
add(obj, obj.getPosition().x, obj.getPosition().z);
}
}