mirror of
https://github.com/PaperMC/Paper.git
synced 2025-03-13 11:18:23 +01:00
Fixed CraftOfflinePlayer.getLastPlayed() returning the wrong result. Addresses BUKKIT-847
This commit is contained in:
parent
397f25aa24
commit
f70f99d1a0
1 changed files with 1 additions and 1 deletions
|
@ -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();
|
||||
|
||||
|
|
Loading…
Add table
Reference in a new issue