3
0
Mirror von https://github.com/PaperMC/Paper.git synchronisiert 2024-12-24 07:10:10 +01:00

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

Dieser Commit ist enthalten in:
Olof Larsson 2012-02-27 16:31:52 +01:00 committet von EvilSeph
Ursprung 397f25aa24
Commit f70f99d1a0

Datei anzeigen

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