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