Major refactor to the way locations are updated and buildouts are loaded

This commit is contained in:
Obique PSWG
2017-05-09 22:57:07 -05:00
parent bc4aab8b01
commit 7d80f3b34c
27 changed files with 102618 additions and 102324 deletions
+1 -3
View File
@@ -70,8 +70,6 @@ import resources.server_info.DataManager;
public class ObjectAwareness extends Service implements TerrainMapCallback {
private static final Location GONE_LOCATION = new Location(0, 0, 0, Terrain.GONE);
private final AwarenessHandler awarenessHandler;
private final DataTransformHandler dataTransformHandler;
@@ -156,7 +154,7 @@ public class ObjectAwareness extends Service implements TerrainMapCallback {
private void handleDestroyObjectIntent(DestroyObjectIntent doi) {
SWGObject obj = doi.getObject();
disappearObject(obj, true, true);
obj.setLocation(GONE_LOCATION);
obj.setPosition(Terrain.GONE, 0, 0, 0);
obj.moveToContainer(null);
}