Luckperms issue with placeholderapi %luckperms_group_expiry_time_vip% not working as it should.
arturek1666 opened this issue ยท 2 comments
What's the issue
The issue is the when doing %luckperms_group_expiry_time_vip% it dosn't show actual expire time, as it's wrong images of evidence:
How you can see the actual time of rank is different then when on a placeholderapi.
Useful information:
PlaceholderAPI version:
2.10.9
Luckperms version:
LuckPerms-Bukkit-5.1.86
The extension was re downloaded just to be sure it's not because of outdated extension.
This is an issue with how the TimeUtil
utility class (provided by PAPI, which is used to format the time it is given) calculates the number of days and hours from the provided duration.
The PAPI Expansion for LP just asks it to format the remaining time in seconds into a (supposedly) nicely human-readable formatted string.
Already made a PR for it PlaceholderAPI/PlaceholderAPI#423, hope it gets reviewed soon.