Fixed imports

This commit is contained in:
sekwah 2018-02-21 17:28:48 +00:00 committed by Sekwah
parent d0ca581056
commit f8638a2ff6

View File

@ -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);
} }