|
@@ -2,7 +2,6 @@ package com.gmail.nossr50.commands;
|
|
|
|
|
|
import com.gmail.nossr50.datatypes.player.McMMOPlayer;
|
|
|
import com.gmail.nossr50.mcMMO;
|
|
|
-import com.gmail.nossr50.util.commands.CommandUtils;
|
|
|
import com.google.common.collect.ImmutableList;
|
|
|
import org.bukkit.command.Command;
|
|
|
import org.bukkit.command.CommandSender;
|
|
@@ -21,7 +20,7 @@ public class ChatNotificationToggleCommand implements TabExecutor {
|
|
|
|
|
|
@Override
|
|
|
public boolean onCommand(CommandSender sender, Command command, String label, String[] args) {
|
|
|
- if (CommandUtils.noConsoleUsage(sender)) {
|
|
|
+ if (pluginRef.getCommandTools().noConsoleUsage(sender)) {
|
|
|
return true;
|
|
|
}
|
|
|
|