From 54411b49de2776b7372fe04e3c93770c716549fc Mon Sep 17 00:00:00 2001 From: libraryaddict Date: Wed, 9 Apr 2014 04:56:10 +1200 Subject: [PATCH] Change the message sent --- .../disguise/commands/LibsDisguisesCommand.java | 11 ++++++----- 1 file changed, 6 insertions(+), 5 deletions(-) diff --git a/src/me/libraryaddict/disguise/commands/LibsDisguisesCommand.java b/src/me/libraryaddict/disguise/commands/LibsDisguisesCommand.java index d77e7bb0..fe2c2ba1 100644 --- a/src/me/libraryaddict/disguise/commands/LibsDisguisesCommand.java +++ b/src/me/libraryaddict/disguise/commands/LibsDisguisesCommand.java @@ -10,11 +10,12 @@ public class LibsDisguisesCommand implements CommandExecutor { @Override public boolean onCommand(CommandSender sender, Command cmd, String label, String[] args) { - sender.sendMessage(ChatColor.GOLD + "Lib's Disguises was created by libraryaddict"); - if (sender.getName().equals("libraryaddict")) { - sender.sendMessage(ChatColor.GRAY + "The server is running version " - + Bukkit.getPluginManager().getPlugin("LibsDisguises").getDescription().getVersion()); - } + sender.sendMessage(ChatColor.DARK_GREEN + + "This server is running " + + "Lib's Disguises " + + (sender.getName().equals("libraryaddict") ? "v" + + Bukkit.getPluginManager().getPlugin("LibsDisguises").getDescription().getVersion() + " " : "") + + "by libraryaddict"); return true; } }