No extra NCP prefixes on commands.

This commit is contained in:
asofold 2014-04-05 00:33:28 +02:00
parent 2aa7ffab8e
commit af5e38b0a8
2 changed files with 4 additions and 4 deletions

View File

@ -22,7 +22,7 @@ import fr.neatmonster.nocheatplus.command.admin.CommandsCommand;
import fr.neatmonster.nocheatplus.command.admin.InfoCommand; import fr.neatmonster.nocheatplus.command.admin.InfoCommand;
import fr.neatmonster.nocheatplus.command.admin.InspectCommand; import fr.neatmonster.nocheatplus.command.admin.InspectCommand;
import fr.neatmonster.nocheatplus.command.admin.LagCommand; import fr.neatmonster.nocheatplus.command.admin.LagCommand;
import fr.neatmonster.nocheatplus.command.admin.NCPVersionCommand; import fr.neatmonster.nocheatplus.command.admin.VersionCommand;
import fr.neatmonster.nocheatplus.command.admin.ReloadCommand; import fr.neatmonster.nocheatplus.command.admin.ReloadCommand;
import fr.neatmonster.nocheatplus.command.admin.RemovePlayerCommand; import fr.neatmonster.nocheatplus.command.admin.RemovePlayerCommand;
import fr.neatmonster.nocheatplus.command.admin.exemption.ExemptCommand; import fr.neatmonster.nocheatplus.command.admin.exemption.ExemptCommand;
@ -89,7 +89,7 @@ public class NoCheatPlusCommand extends BaseCommand{
new KickCommand(plugin), new KickCommand(plugin),
new KickListCommand(plugin), new KickListCommand(plugin),
new LagCommand(plugin), new LagCommand(plugin),
new NCPVersionCommand(plugin), new VersionCommand(plugin),
new NotifyCommand(plugin), new NotifyCommand(plugin),
new ReloadCommand(plugin, notifyReload), new ReloadCommand(plugin, notifyReload),
new RemovePlayerCommand(plugin), new RemovePlayerCommand(plugin),

View File

@ -18,9 +18,9 @@ import fr.neatmonster.nocheatplus.hooks.NCPHookManager;
import fr.neatmonster.nocheatplus.permissions.Permissions; import fr.neatmonster.nocheatplus.permissions.Permissions;
import fr.neatmonster.nocheatplus.utilities.StringUtil; import fr.neatmonster.nocheatplus.utilities.StringUtil;
public class NCPVersionCommand extends BaseCommand{ public class VersionCommand extends BaseCommand{
public NCPVersionCommand(JavaPlugin plugin) { public VersionCommand(JavaPlugin plugin) {
super(plugin, "version", Permissions.COMMAND_VERSION, new String[]{"versions", "ver"}); super(plugin, "version", Permissions.COMMAND_VERSION, new String[]{"versions", "ver"});
} }