Added test cases for SWGObject and travel, as well as added enforcement of valid Terrains

This commit is contained in:
Obique PSWG
2017-05-23 17:59:39 -05:00
parent ae3f2e00bd
commit 6c48fa0267
9 changed files with 284 additions and 90 deletions
+1 -1
View File
@@ -156,8 +156,8 @@ public class ObjectAwareness extends Service implements TerrainMapCallback {
private void handleDestroyObjectIntent(DestroyObjectIntent doi) {
SWGObject obj = doi.getObject();
disappearObject(obj, true, true);
obj.setPosition(Terrain.GONE, 0, 0, 0);
obj.moveToContainer(null);
obj.setPosition(Terrain.GONE, 0, 0, 0);
}
private void processObjectTeleportIntent(ObjectTeleportIntent oti) {