mirror of
https://github.com/Melledy/Nebula.git
synced 2026-09-20 01:29:54 +02:00
Implement login reward activity
This commit is contained in:
@@ -804,6 +804,9 @@ public class Player implements GameDatabaseObject {
|
||||
// Fix any broken honor ids
|
||||
this.checkBrokenHonor();
|
||||
|
||||
// Update activities
|
||||
this.getActivityManager().onLogin();
|
||||
|
||||
// Update last login time
|
||||
this.lastLogin = System.currentTimeMillis();
|
||||
Nebula.getGameDatabase().update(this, this.getUid(), "lastLogin", this.getLastLogin());
|
||||
|
||||
Reference in New Issue
Block a user