forked from virt-mirrors/Sit
lang update to not cause issues
This commit is contained in:
parent
c6c9414b0b
commit
d3274d7302
8 changed files with 47 additions and 48 deletions
|
@ -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);
|
||||
}
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue