mirror of
https://github.com/funkemunky/AntiVPN.git
synced 2026-06-05 19:32:19 +00:00
Finished commands system on Bukkit - tested and working
This commit is contained in:
@@ -4,12 +4,6 @@ import dev.brighten.antivpn.AntiVPN;
|
||||
|
||||
public abstract class Command {
|
||||
|
||||
public Command() {
|
||||
for (Command child : children()) {
|
||||
AntiVPN.getInstance().getCommands().add(child);
|
||||
}
|
||||
}
|
||||
|
||||
public abstract String permission();
|
||||
|
||||
public abstract String name();
|
||||
@@ -21,8 +15,6 @@ public abstract class Command {
|
||||
public abstract String usage();
|
||||
|
||||
public abstract String parent();
|
||||
|
||||
public abstract Command[] children();
|
||||
|
||||
public abstract String execute(CommandExecutor executor, String[] args);
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user