Rework /addlevels to use the built-in Bukkit command stuff.

This commit is contained in:
GJ
2013-02-01 13:27:12 -05:00
parent 89e5e16aad
commit a3e9d12f6a
8 changed files with 37 additions and 38 deletions

View File

@ -79,8 +79,8 @@ public final class Permissions {
* @deprecated Use {@link #mmoeditCommand(player)} instead.
*/
@Deprecated
public static boolean mmoedit(Player player) {
return hasPermission(player, "mcmmo.tools.mmoedit");
public static boolean mmoedit(CommandSender sender) {
return hasPermission(sender, "mcmmo.tools.mmoedit");
}
public static boolean mcgod(Player player) {