mirror of
https://github.com/TotalFreedomMC/TotalFreedomMod.git
synced 2025-07-24 14:33:58 +00:00
use the tfm way
This commit is contained in:
parent
1ad60c1c80
commit
553767454d
1 changed files with 3 additions and 3 deletions
|
@ -35,13 +35,13 @@ public class Command_links extends FreedomCommand
|
|||
lines.add(ChatColor.GOLD + "- " + key + ": " + ChatColor.AQUA + link);
|
||||
}
|
||||
|
||||
sender.sendMessage(ChatColor.AQUA + "Social Media Links:");
|
||||
sender.sendMessage(lines.toArray(new String[0]));
|
||||
msg("Social Media Links:", ChatColor.AQUA);
|
||||
msg(lines.toArray(new String[0]));
|
||||
return true;
|
||||
}
|
||||
else
|
||||
{
|
||||
sender.sendMessage(ChatColor.RED + "There are no links added in the configuration file.");
|
||||
msg("There are no links added in the configuration file.", ChatColor.RED);
|
||||
}
|
||||
return true;
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue