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);
|
lines.add(ChatColor.GOLD + "- " + key + ": " + ChatColor.AQUA + link);
|
||||||
}
|
}
|
||||||
|
|
||||||
sender.sendMessage(ChatColor.AQUA + "Social Media Links:");
|
msg("Social Media Links:", ChatColor.AQUA);
|
||||||
sender.sendMessage(lines.toArray(new String[0]));
|
msg(lines.toArray(new String[0]));
|
||||||
return true;
|
return true;
|
||||||
}
|
}
|
||||||
else
|
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;
|
return true;
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user