Closed Dyljyn closed 1 year ago
Disclaimer: I don't program in Java or know about modding
If I'm correct, the problem is on the following line: https://github.com/buape/ActivityRoles/blob/707632c62457a0c2d4fd6f81d9749d1ab129d6c4/src/main/java/com/shadowdev/activityroles/tools/ActivityCheck.java#LL66C46-L66C46
and the reason being is that the method OfflinePlayer.getLastSeen()
has been removed.
This is strange looking at the deprecation message for the method [OfflinePlayer.getLastPlayed()
](https://jd.papermc.io/paper/1.20/org/bukkit/OfflinePlayer.html#getLastPlayed()) in the 1.20
version:
Deprecated. The API contract is ambiguous and the implementation may or may not return the correct value given this API ambiguity. It is instead recommended use [getLastLogin()](https://jd.papermc.io/paper/1.20/org/bukkit/OfflinePlayer.html#getLastLogin()) or [getLastSeen()](https://jd.papermc.io/paper/1.20/org/bukkit/OfflinePlayer.html#getLastSeen()) depending on your needs.
ActivityRoles does not support Spigot, it requires at least Paper
Context
Server: Spigot 1.20.1 DiscordSRV: 1.26.2 ActivityRoles: 1.3.0
Error