Add version number to /mcmmo command

Also used the logger in onEnable and onDisable
This commit is contained in:
TfT_02
2012-12-30 00:02:39 +01:00
parent 43de871392
commit db370418f8
2 changed files with 4 additions and 3 deletions

View File

@ -28,6 +28,7 @@ public class McmmoCommand implements CommandExecutor {
sender.sendMessage(ChatColor.DARK_AQUA + "Donation Info:");
sender.sendMessage(ChatColor.GOLD + " - " + ChatColor.GREEN + "mcmmodev@gmail.com" + ChatColor.GOLD + " Paypal");
}
sender.sendMessage(ChatColor.YELLOW + "Running version: " + ChatColor.DARK_AQUA + mcMMO.p.getDescription().getVersion());
return true;
}