Added chat log

This commit is contained in:
Obique PSWG
2015-10-05 10:46:35 -05:00
parent 53ec19a1ff
commit 4ed21b9868
5 changed files with 118 additions and 4 deletions
+4 -2
View File
@@ -487,11 +487,13 @@ public class ObjectManager extends Manager {
sendClientFatal(player, "Failed to zone", "There has been an internal server error: Null Ghost.\nPlease delete your character and create a new one", 10, TimeUnit.SECONDS);
return;
}
if (creatureObj.getParent() != null)
if (creatureObj.getParent() != null) {
objectAwareness.update(creatureObj);
else {
Log.d("ObjectManager", "Zoning in to %s/%s - %s", creatureObj.getParent(), creatureObj.getTerrain(), creatureObj.getLocation().getPosition());
}else {
objectAwareness.remove(creatureObj);
objectAwareness.add(creatureObj);
Log.d("ObjectManager", "Zoning in to %s - %s", creatureObj.getTerrain(), creatureObj.getLocation().getPosition());
}
new RequestZoneInIntent(player, (CreatureObject) creatureObj, galaxy).broadcast();
}