diff --git a/plugin.yml b/plugin.yml index 4ba984c40..a7c795111 100755 --- a/plugin.yml +++ b/plugin.yml @@ -7,5 +7,4 @@ authors: [tastybento, Poslovitch] softdepend: [PlaceholderAPI, MVdWPlaceholderAPI] -load: startup loadbefore: [Multiverse-Core] diff --git a/src/main/java/world/bentobox/bentobox/BentoBox.java b/src/main/java/world/bentobox/bentobox/BentoBox.java index 780f2fe44..46da6666f 100644 --- a/src/main/java/world/bentobox/bentobox/BentoBox.java +++ b/src/main/java/world/bentobox/bentobox/BentoBox.java @@ -5,7 +5,6 @@ import org.bukkit.World; import org.bukkit.plugin.PluginManager; import org.bukkit.plugin.java.JavaPlugin; -import world.bentobox.bentobox.api.commands.MyCommand; import world.bentobox.bentobox.api.configuration.BSBConfig; import world.bentobox.bentobox.api.configuration.WorldSettings; import world.bentobox.bentobox.api.events.BentoBoxReadyEvent; @@ -100,13 +99,7 @@ public class BentoBox extends JavaPlugin { // Set up command manager commandsManager = new CommandsManager(); - new MyCommand(); // Tab Complete works in-game and in console - getServer().getScheduler().runTask(this, () -> new MyCommand()); // Tab complete does not work in-game, only console - // These items have to be loaded when the server has done 1 tick. - // Note Worlds are not loaded this early, so any Locations or World reference will be null - // at this point. Therefore, the 1 tick scheduler is required. - //getServer().getScheduler().runTask(this, () -> { // Create the world if it does not exist islandWorldManager = new IslandWorldManager(instance); // Load schems manager @@ -149,7 +142,6 @@ public class BentoBox extends JavaPlugin { }); - // }); } /** diff --git a/src/main/java/world/bentobox/bentobox/api/commands/CompositeCommand.java b/src/main/java/world/bentobox/bentobox/api/commands/CompositeCommand.java index 8e27411ab..f20bf0a53 100644 --- a/src/main/java/world/bentobox/bentobox/api/commands/CompositeCommand.java +++ b/src/main/java/world/bentobox/bentobox/api/commands/CompositeCommand.java @@ -478,7 +478,6 @@ public abstract class CompositeCommand extends Command implements PluginIdentifi @Override public List tabComplete(final CommandSender sender, final String alias, final String[] args) { - Bukkit.getLogger().info("DEBUG tab complete called"); List options = new ArrayList<>(); // Get command object based on args entered so far CompositeCommand cmd = getCommandFromArgs(args);