EssentialsX

EssentialsX

2M Downloads

cantGamemode message doesn't return the translated values for gamemodes

davidgb8246 opened this issue ยท 1 comments

commented

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"...

image
image
image

Steps to reproduce

  1. Install the plugin.
  2. Change the locale configuration on the plugin's config.
  3. Modify the values of the game modes.
  4. 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

commented

Confirmed - the plugin is only pulling from the English translation file. should just be as simple as removing that hardcoded value.