Fixed CraftOfflinePlayer.getLastPlayed() returning the wrong result. Addresses BUKKIT-847
Dieser Commit ist enthalten in:
Ursprung
397f25aa24
Commit
f70f99d1a0
@ -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();
|
||||||
|
|
||||||
|
In neuem Issue referenzieren
Einen Benutzer sperren