mirror of
https://github.com/TotalFreedomMC/TF-Marriage.git
synced 2024-05-19 19:11:21 +00:00
Don't unload partner data when checking last login. Fixes #23
This commit is contained in:
parent
ae65735ff9
commit
98e65fc934
|
@ -35,7 +35,7 @@ public class CommandSeen extends Command {
|
||||||
reply(Message.ONLINE_SINCE, format(time));
|
reply(Message.ONLINE_SINCE, format(time));
|
||||||
} else {
|
} else {
|
||||||
long time = System.currentTimeMillis() - mp.getLastLogout();
|
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));
|
reply(Message.OFFLINE_SINCE, format(time));
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in a new issue