More command updates, better offline player support.

This commit is contained in:
GJ
2012-04-04 10:34:35 -04:00
parent 86528334d1
commit 80526c0e06
22 changed files with 233 additions and 286 deletions

View File

@ -32,6 +32,15 @@ public class CommandHelper {
return false;
}
public static boolean noConsoleUsage(CommandSender sender) {
if (!(sender instanceof Player)) {
sender.sendMessage(mcLocale.getString("Commands.NoConsole"));
return true;
}
return false;
}
/**
* Print out details on Gathering skills. Only for online players.
*