mirror of
https://github.com/NoCheatPlus/NoCheatPlus.git
synced 2024-10-06 02:17:25 +02:00
No extra NCP prefixes on commands.
This commit is contained in:
parent
2aa7ffab8e
commit
af5e38b0a8
@ -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),
|
||||||
|
@ -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"});
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in New Issue
Block a user