mirror of
https://github.com/AtlasMediaGroup/TotalFreedomMod.git
synced 2024-11-27 01:05:38 +00:00
use the tfm way
This commit is contained in:
parent
1ad60c1c80
commit
553767454d
@ -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…
Reference in New Issue
Block a user