Placeholder time is not parsed properly
piotrskibapl opened this issue ยท 2 comments
Description
All placeholders that return an amount of time are not parsed correctly - the amount of hours is often greater than or equal to 24. For example, when I run the /papi parse USER %luckperms_group_expiry_time_GROUP%
, I get values like "5d 36h 1m 23s".
Reproduction steps
- Run
/lp user USER permission settemp test.test true 1d2h
- Run
/papi parse USER %luckperms_expiry_time_test.test%
- See the returned value - you should see something like
1d 25h 59m 58s
Expected behaviour
The returned value should be properly parsed.
Environment details
- Server type/version:
Paper
running version1.16.4
build388
- LuckPerms version:
v5.2.96
Any other relevant details
I am using the PlaceholderAPI plugin (v 2.10.9) for placeholders.
Update PAPI to a dev build https://ci.extendedclip.com/job/PlaceholderAPI/