mirror of
https://github.com/PaperMC/Paper.git
synced 2025-01-08 11:24:11 +01:00
Store last known player names in preparation for name changing
By: feildmaster <admin@feildmaster.com>
This commit is contained in:
parent
ca844c146f
commit
6de31b61d5
1 changed files with 1 additions and 0 deletions
|
@ -971,6 +971,7 @@ public class CraftPlayer extends CraftHumanEntity implements Player {
|
|||
data.setBoolean("keepLevel", handle.keepLevel);
|
||||
data.setLong("firstPlayed", getFirstPlayed());
|
||||
data.setLong("lastPlayed", System.currentTimeMillis());
|
||||
data.setString("lastKnownName", handle.getName());
|
||||
}
|
||||
|
||||
public boolean beginConversation(Conversation conversation) {
|
||||
|
|
Loading…
Reference in a new issue