Fixed object teleport setting terrain before container

This commit is contained in:
Obique PSWG
2017-05-23 18:30:31 -05:00
parent 8294c5c610
commit 47edaeae8f
+1 -1
View File
@@ -210,8 +210,8 @@ public class ObjectAwareness extends Service implements TerrainMapCallback {
Log.i("Zoning in %s with character %s at %s in %s/%s %s", player.getUsername(), player.getCharacterName(), loc.getPosition(), superParent, world, superParent.getTerrain());
}
resetAwarenessOnZone(creature, firstZone);
creature.setLocation(loc);
creature.moveToContainer(parent);
creature.setLocation(loc);
startZone(creature, firstZone);
recursiveCreateObject(creature, player);
if (parent != null) {