TechnicJelle / BlueMapOfflinePlayerMarkers

Minecraft Paper plugin and BlueMap addon that adds markers where players have logged off
Mozilla Public License 2.0
14 stars 8 forks source link

Use System.currentTime as lastPlayed timestamp on leave #32

Closed divadsn closed 1 year ago

divadsn commented 1 year ago

This PR fixes wrong timestamps displayed on offline player markers when a player leaves the game.

In newer version of Paper getLastPlayed is deprecated in favor of getLastSeen: https://jd.papermc.io/paper/1.20/org/bukkit/OfflinePlayer.html#getLastSeen()

TechnicJelle commented 1 year ago

Thanks for the fix! And thanks for waiting, too.