mirror of
https://github.com/ProjectSWGCore/Holocore.git
synced 2026-10-07 22:13:40 -04:00
Updated some output strings to include the account name alongside the character name
This commit is contained in:
@@ -33,11 +33,11 @@ public class ConnectionService extends Service {
|
||||
for (Player p : zonedInPlayers) {
|
||||
if (p.getTimeSinceLastPacket() > DISAPPEAR_THRESHOLD) {
|
||||
p.setPlayerState(PlayerState.DISCONNECTED);
|
||||
System.out.println(p.getCharacterName() + " disappeared");
|
||||
System.out.println("[" + p.getUsername() +"]" + p.getCharacterName() + " disappeared");
|
||||
new PlayerEventIntent(p, PlayerEvent.PE_DISAPPEAR).broadcast();
|
||||
} else if (p.getTimeSinceLastPacket() > LD_THRESHOLD) {
|
||||
if (p.getPlayerState() != PlayerState.LOGGED_OUT)
|
||||
System.out.println("Logged out " + p.getCharacterName());
|
||||
System.out.println("[" + p.getUsername() +"]" + "Logged out " + p.getCharacterName());
|
||||
p.setPlayerState(PlayerState.LOGGED_OUT);
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user