Fix #57
This commit is contained in:
parent
b40df54c9a
commit
48d5add08b
@ -274,7 +274,9 @@ public class AsynchronousLogin implements AsynchronousProcess {
|
||||
auth.setRealName(player.getName());
|
||||
auth.setLastLogin(System.currentTimeMillis());
|
||||
auth.setLastIp(ip);
|
||||
auth.setQuitLocation(player.getLocation());
|
||||
if (isFirstLogin) {
|
||||
auth.setQuitLocation(player.getLocation());
|
||||
}
|
||||
dataSource.updateSession(auth);
|
||||
|
||||
// TODO: send an update when a messaging service will be implemented (SESSION)
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user