mirror of
https://github.com/ProjectSWGCore/Holocore.git
synced 2026-10-05 20:13:20 -04:00
Increased code readability for ObjectManager
This commit is contained in:
@@ -57,7 +57,7 @@ public class PlayerManager extends Manager {
|
||||
player = transitionLoginToZone(networkId, gpi.getGalaxy().getId(), (ClientIdMsg) packet);
|
||||
else
|
||||
player = players.get(networkId);
|
||||
if (player == null && type == ServerType.LOGIN) {
|
||||
if (type == ServerType.LOGIN && player == null) {
|
||||
player = new Player(this, networkId);
|
||||
players.put(networkId, player);
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user