mirror of
https://bitbucket.org/projectswg/cucore.git
synced 2026-07-14 23:07:39 -04:00
Modified outputs of services to conform to general output standard
This commit is contained in:
@@ -300,6 +300,7 @@ public class ObjectManager extends Manager {
|
||||
creature.createObject(player);
|
||||
creature.clearAware();
|
||||
updateAwarenessForObject(creature);
|
||||
System.out.println("[" + player.getUsername() + "] " + player.getCharacterName() + " is zoning in");
|
||||
new PlayerEventIntent(player, galaxy, PlayerEvent.PE_ZONE_IN).broadcast();
|
||||
}
|
||||
|
||||
@@ -308,8 +309,8 @@ public class ObjectManager extends Manager {
|
||||
return;
|
||||
SWGObject creature = objects.get(characterId);
|
||||
if (creature == null) {
|
||||
System.err.println("ObjectManager: Failed to start zone - CreatureObject could not be fetched from database");
|
||||
throw new NullPointerException("CreatureObject for ID: " + characterId + " cannot be null!");
|
||||
System.err.println("ObjectManager: Failed to start zone - CreatureObject could not be fetched from database [Character: " + characterId + " User: " + player.getUsername() + "]");
|
||||
return;
|
||||
}
|
||||
player.setCreatureObject(creature);
|
||||
creature.setOwner(player);
|
||||
|
||||
Reference in New Issue
Block a user