mirror of
https://github.com/Oth3r/Sit.git
synced 2025-09-19 16:03:22 +02:00
fix sit toggle messages not showing correctly
This commit is contained in:
parent
dbee32a5e9
commit
b1702c9beb
1 changed files with 2 additions and 2 deletions
|
@ -194,11 +194,11 @@ public class Logic {
|
||||||
|
|
||||||
|
|
||||||
// get the message settings
|
// get the message settings
|
||||||
String messageKey = "sit!.chat.sit_toggle."+(config.getEnabled()?"on":"off");
|
String messageKey = "sit!.chat.toggle_sit."+(config.getEnabled()?"on":"off");
|
||||||
Formatting messageColor = config.getEnabled()?Formatting.GREEN:Formatting.RED;
|
Formatting messageColor = config.getEnabled()?Formatting.GREEN:Formatting.RED;
|
||||||
|
|
||||||
// send the player the actionbar message
|
// send the player the actionbar message
|
||||||
return Utl.lang("sit!.chat.sit_toggle",
|
return Utl.lang("sit!.chat.toggle_sit",
|
||||||
Utl.lang(messageKey).formatted(messageColor));
|
Utl.lang(messageKey).formatted(messageColor));
|
||||||
} else {
|
} else {
|
||||||
// unsupported server message if not in a Sit! server
|
// unsupported server message if not in a Sit! server
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue