cantGamemode message doesn't return the translated values for gamemodes
davidgb8246 opened this issue ยท 1 comments
Type of bug
Other unexpected behaviour
/ess dump all
output
https://essentialsx.net/dump.html?id=b73afca8ddd842cf93bbbf36454f8c37
Error log (if applicable)
No response
Bug description
When a player runs the command "/gamemode creative", the plugin sends the message "cantGamemode". The issue is that the placeholder {0} of that message doesn't return the values on "adventure", "creative"...
Steps to reproduce
- Install the plugin.
- Change the locale configuration on the plugin's config.
- Modify the values of the game modes.
- Run that command.
Expected behaviour
The plugin should return the translated values instead of the default ones in upper case.
Actual behaviour
The plugin doesn't return the translated values on that message.
Additional Information
No response