diff options
author | feildmaster <admin@feildmaster.com> | 2014-03-31 14:42:33 -0500 |
---|---|---|
committer | feildmaster <admin@feildmaster.com> | 2014-03-31 14:42:33 -0500 |
commit | 434f15c847e43992cc1c2aa8feeefe283a6be8b6 (patch) | |
tree | d360575b81f87f887f9cf03783d476038723c76c /src/main/java | |
parent | 21e7ba8d221996f22e5d55ffb023b294a7c7bc0c (diff) | |
download | craftbukkit-434f15c847e43992cc1c2aa8feeefe283a6be8b6.tar craftbukkit-434f15c847e43992cc1c2aa8feeefe283a6be8b6.tar.gz craftbukkit-434f15c847e43992cc1c2aa8feeefe283a6be8b6.tar.lz craftbukkit-434f15c847e43992cc1c2aa8feeefe283a6be8b6.tar.xz craftbukkit-434f15c847e43992cc1c2aa8feeefe283a6be8b6.zip |
Store last known player names in preparation for name changing
Diffstat (limited to 'src/main/java')
-rw-r--r-- | src/main/java/org/bukkit/craftbukkit/entity/CraftPlayer.java | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/src/main/java/org/bukkit/craftbukkit/entity/CraftPlayer.java b/src/main/java/org/bukkit/craftbukkit/entity/CraftPlayer.java index da574e0b..4c193709 100644 --- a/src/main/java/org/bukkit/craftbukkit/entity/CraftPlayer.java +++ b/src/main/java/org/bukkit/craftbukkit/entity/CraftPlayer.java @@ -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) { |