Got started on SWGObject awareness

This commit is contained in:
Obique
2014-12-08 13:03:01 -06:00
committed by Obique
parent 384129e059
commit 14b4bad6ed
5 changed files with 10 additions and 12 deletions
-8
View File
@@ -57,14 +57,6 @@ public class PlayerManager extends Manager {
if (type == ServerType.ZONE && packet instanceof ClientIdMsg)
transitionLoginToZone(networkId, gpi.getGalaxy().getId(), (ClientIdMsg) packet);
player = players.get(networkId);
if (player == null)
System.out.println("Player: null");
else {
System.out.println("Player: " + player.getUsername());
System.out.println(" " + player.getUserId());
System.out.println(" " + player.getGalaxyId());
}
System.out.println("Player: " + ((player==null)?"null":player.getUsername()));
if (player == null && type == ServerType.LOGIN) {
player = new Player(this, networkId);
players.put(networkId, player);