mirror of
https://github.com/TotalFreedomMC/TF-Marriage.git
synced 2024-12-28 11:04:24 +00:00
Don't unload partner data when checking last login. Fixes #23
This commit is contained in:
parent
ae65735ff9
commit
98e65fc934
1 changed files with 1 additions and 1 deletions
|
@ -35,7 +35,7 @@ public class CommandSeen extends Command {
|
|||
reply(Message.ONLINE_SINCE, format(time));
|
||||
} else {
|
||||
long time = System.currentTimeMillis() - mp.getLastLogout();
|
||||
((MarriageCore) this.marriage).unloadPlayer(marriage.getOtherPlayer(player.getUniqueId()));
|
||||
// ((MarriageCore) this.marriage).unloadPlayer(marriage.getOtherPlayer(player.getUniqueId()));
|
||||
reply(Message.OFFLINE_SINCE, format(time));
|
||||
}
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue