mojira.dev
MC-301619

Game mode translation key is used in the console message sent when a player tries to switch their game mode without permission

When a player w/o server-side operator permissions tries to change their game mode using F3+F4, the following message appears in the server console:

Player Test tried to change game mode to translation{key='selectWorld.gameMode.creative', args=[]} without required permissions

I'm sure that instead of

translation{key='selectWorld.gameMode.creative', args=[]}

there should be a readable mode name, in this case

CREATIVE

Comments 0

No comments.

molor

bl4ckscor3

Confirmed

Platform

Normal

Text

1.21.8

Retrieved