mirror of
https://github.com/PaperMC/Paper.git
synced 2025-08-26 18:03:51 -07:00
Store last known player names in preparation for name changing
This commit is contained in:
@@ -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) {
|
||||
|
Reference in New Issue
Block a user