use the tfm way

This commit is contained in:
Lemon 2018-06-08 18:34:10 +05:00 committed by GitHub
parent 1ad60c1c80
commit 553767454d
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -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;
} }