Mirror von
https://github.com/PaperMC/Paper.git
synchronisiert 2024-12-26 16:12:37 +01:00
Store last known player names in preparation for name changing
Dieser Commit ist enthalten in:
Ursprung
21e7ba8d22
Commit
434f15c847
@ -971,6 +971,7 @@ public class CraftPlayer extends CraftHumanEntity implements Player {
|
|||||||
data.setBoolean("keepLevel", handle.keepLevel);
|
data.setBoolean("keepLevel", handle.keepLevel);
|
||||||
data.setLong("firstPlayed", getFirstPlayed());
|
data.setLong("firstPlayed", getFirstPlayed());
|
||||||
data.setLong("lastPlayed", System.currentTimeMillis());
|
data.setLong("lastPlayed", System.currentTimeMillis());
|
||||||
|
data.setString("lastKnownName", handle.getName());
|
||||||
}
|
}
|
||||||
|
|
||||||
public boolean beginConversation(Conversation conversation) {
|
public boolean beginConversation(Conversation conversation) {
|
||||||
|
Laden…
In neuem Issue referenzieren
Einen Benutzer sperren