From 553767454d4b542b3d217a5745e8410a1a5de4e5 Mon Sep 17 00:00:00 2001 From: Lemon Date: Fri, 8 Jun 2018 18:34:10 +0500 Subject: [PATCH] use the tfm way --- .../totalfreedom/totalfreedommod/command/Command_links.java | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/src/main/java/me/totalfreedom/totalfreedommod/command/Command_links.java b/src/main/java/me/totalfreedom/totalfreedommod/command/Command_links.java index c561f672..8089901c 100644 --- a/src/main/java/me/totalfreedom/totalfreedommod/command/Command_links.java +++ b/src/main/java/me/totalfreedom/totalfreedommod/command/Command_links.java @@ -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; }