diff --git a/SpigotCore_Main/src/de/steamwar/command/SWCommandBundle.java b/SpigotCore_Main/src/de/steamwar/command/SWCommandBundle.java index 4b00d93..c99b343 100644 --- a/SpigotCore_Main/src/de/steamwar/command/SWCommandBundle.java +++ b/SpigotCore_Main/src/de/steamwar/command/SWCommandBundle.java @@ -24,7 +24,6 @@ import org.bukkit.entity.Player; import java.util.ArrayList; import java.util.List; -import java.util.function.BiConsumer; public class SWCommandBundle { @@ -36,17 +35,6 @@ public class SWCommandBundle { return this; } - public SWCommandBundle addAll(SWCommandBundle swCommandBundle) { - if (swCommandBundle == null) return this; - swCommandList.addAll(swCommandBundle.swCommandList); - return this; - } - - public SWCommandBundle addAll(BiConsumer executor, List[]> arguments) { - arguments.forEach(args -> swCommandList.add(new SWCommand(executor, args))); - return this; - } - public boolean execute(Player player, String[] args) { for (SWCommand swCommand : swCommandList) { if (swCommand.execute(player, args)) return true;