Querying user meta-data does not force the input key to only-lowercase
yakovliam opened this issue ยท 1 comments
Description
Querying user meta-data (using LuckPerms API) with the method User#getCachedData#getMetaData#getMetaValue(KEY)
does not query with the key lowercase forced, even though meta does not support uppercase characters.
This is an issue because setting new meta through the API (or commands) converts the key input to all lowercase if provided capital letters. This creates an inconsistency with setting/querying.
Reproduction steps
- Use the method with an uppercase character
Expected behaviour
The method forces lowercase on the meta key input.
Environment details
- Server type/version:
Paper
running version1.16.5
build469
- LuckPerms version:
v5.2.76
Any other relevant details
N/A