Fixed CraftOfflinePlayer.getLastPlayed() returning the wrong result. Addresses BUKKIT-847

This commit is contained in:
Olof Larsson 2012-02-27 16:31:52 +01:00 committed by EvilSeph
parent 397f25aa24
commit f70f99d1a0

View File

@ -167,7 +167,7 @@ public class CraftOfflinePlayer implements OfflinePlayer, ConfigurationSerializa
public long getLastPlayed() {
Player player = getPlayer();
if (player != null) return player.getFirstPlayed();
if (player != null) return player.getLastPlayed();
NBTTagCompound data = getBukkitData();