attempting to make good codes at 3 in the morning isnt very bright

This commit is contained in:
ZeroEpoch1969
2018-06-02 13:08:35 -07:00
parent 7026423e8e
commit c835d38b7c
2 changed files with 5 additions and 4 deletions

View File

@ -186,7 +186,7 @@ public class Command_myadmin extends FreedomCommand
plugin.al.save();
plugin.al.updateTables();
msg("Set admin chat format to \"" + format + "\".", ChatColor.GRAY);
String example = format.replace("%name%", "ExampleAdmin").replace("%rank%", "STA").replace("%msg%", "The quick brown fox jumps over the lazy dog.");
String example = format.replace("%name%", "ExampleAdmin").replace("%rank%", Rank.TELNET_ADMIN.getAbbr()).replace("%rankcolor%", Rank.TELNET_ADMIN.getColor().toString()).replace("%msg%", "The quick brown fox jumps over the lazy dog.");
msg(ChatColor.GRAY + "Example: " + FUtil.colorize(example));
return true;
}