Fixed CraftOfflinePlayer.getLastPlayed() returning the wrong result. Addresses BUKKIT-847
By: Olof Larsson <olof@sylt.nu>
This commit is contained in:
@@ -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();
|
||||
|
||||
|
||||
Reference in New Issue
Block a user