lang update to not cause issues

This commit is contained in:
Oth3r 2024-10-03 15:42:51 -05:00
commit d3274d7302
8 changed files with 47 additions and 48 deletions

View file

@ -164,15 +164,15 @@ public class Logic {
// get the message settings
String messageKey = "msg.sit_toggle."+(config.getEnabled()?"on":"off");
String messageKey = "sit!.chat.sit_toggle."+(config.getEnabled()?"on":"off");
Formatting messageColor = config.getEnabled()?Formatting.GREEN:Formatting.RED;
// send the player the actionbar message
return Utl.lang("msg.sit_toggle",
return Utl.lang("sit!.chat.sit_toggle",
Utl.lang(messageKey).formatted(messageColor));
} else {
// unsupported server message if not in a Sit! server
return Utl.lang("msg.unsupported")
return Utl.lang("sit!.chat.unsupported")
.formatted(Formatting.RED);
}
}