mirror of
https://github.com/sekwah41/Advanced-Portals.git
synced 2024-11-22 18:46:35 +01:00
Fixed imports
This commit is contained in:
parent
d0ca581056
commit
f8638a2ff6
@ -8,6 +8,7 @@ import com.sekwah.advancedportals.core.api.portal.AdvancedPortal;
|
|||||||
import com.sekwah.advancedportals.core.api.registry.TagRegistry;
|
import com.sekwah.advancedportals.core.api.registry.TagRegistry;
|
||||||
import com.sekwah.advancedportals.core.api.registry.WarpEffectRegistry;
|
import com.sekwah.advancedportals.core.api.registry.WarpEffectRegistry;
|
||||||
import com.sekwah.advancedportals.core.commands.CommandWithSubCommands;
|
import com.sekwah.advancedportals.core.commands.CommandWithSubCommands;
|
||||||
|
import com.sekwah.advancedportals.core.commands.subcommands.desti.CreateDestiSubCommand;
|
||||||
import com.sekwah.advancedportals.core.commands.subcommands.portal.*;
|
import com.sekwah.advancedportals.core.commands.subcommands.portal.*;
|
||||||
import com.sekwah.advancedportals.core.util.Config;
|
import com.sekwah.advancedportals.core.util.Config;
|
||||||
import com.sekwah.advancedportals.core.util.DataStorage;
|
import com.sekwah.advancedportals.core.util.DataStorage;
|
||||||
@ -126,7 +127,7 @@ public class AdvancedPortalsCore {
|
|||||||
this.portalCommand.registerSubCommand("transupdate", new TransUpdateSubCommand(this));
|
this.portalCommand.registerSubCommand("transupdate", new TransUpdateSubCommand(this));
|
||||||
this.portalCommand.registerSubCommand("reload", new ReloadSubCommand(this));
|
this.portalCommand.registerSubCommand("reload", new ReloadSubCommand(this));
|
||||||
this.portalCommand.registerSubCommand("selector", new SelectorSubCommand(this), "wand");
|
this.portalCommand.registerSubCommand("selector", new SelectorSubCommand(this), "wand");
|
||||||
this.portalCommand.registerSubCommand("create", new CreateSubCommand());
|
this.portalCommand.registerSubCommand("create", new CreatePortalSubCommand());
|
||||||
this.portalCommand.registerSubCommand("remove", new RemoveSubCommand());
|
this.portalCommand.registerSubCommand("remove", new RemoveSubCommand());
|
||||||
|
|
||||||
this.commandRegister.registerCommand("portal", this.portalCommand);
|
this.commandRegister.registerCommand("portal", this.portalCommand);
|
||||||
@ -134,6 +135,9 @@ public class AdvancedPortalsCore {
|
|||||||
|
|
||||||
private void registerDestinationCommand() {
|
private void registerDestinationCommand() {
|
||||||
this.destiCommand = new CommandWithSubCommands();
|
this.destiCommand = new CommandWithSubCommands();
|
||||||
|
|
||||||
|
this.destiCommand.registerSubCommand("create", new CreateDestiSubCommand());
|
||||||
|
|
||||||
this.commandRegister.registerCommand("destination", this.destiCommand);
|
this.commandRegister.registerCommand("destination", this.destiCommand);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user