3
0
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:
feildmaster 2014-03-31 14:42:33 -05:00
Ursprung 21e7ba8d22
Commit 434f15c847

Datei anzeigen

@ -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) {