Skip to content

Commit

Permalink
Remove setspawn from old command system.
Browse files Browse the repository at this point in the history
  • Loading branch information
creatorfromhell committed Nov 26, 2023
1 parent 72840fc commit d7d0e20
Show file tree
Hide file tree
Showing 2 changed files with 0 additions and 243 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,6 @@
import me.lokka30.phantomworlds.PhantomWorlds;
import me.lokka30.phantomworlds.commands.phantomworlds.subcommands.CreateSubcommand;
import me.lokka30.phantomworlds.commands.phantomworlds.subcommands.GameruleSubcommand;
import me.lokka30.phantomworlds.commands.phantomworlds.subcommands.SetSpawnSubcommand;
import org.bukkit.command.Command;
import org.bukkit.command.CommandSender;
import org.bukkit.command.TabExecutor;
Expand All @@ -25,8 +24,6 @@ public class PhantomWorldsCommand implements TabExecutor {

final CreateSubcommand createSubcommand = new CreateSubcommand();
final GameruleSubcommand gameruleSubcommand = new GameruleSubcommand();
final SetSpawnSubcommand setSpawnSubcommand = new SetSpawnSubcommand();

/**
* @since v2.0.0
*/
Expand All @@ -53,9 +50,6 @@ public boolean onCommand(@NotNull CommandSender sender, @NotNull Command cmd,
case "gamerule":
gameruleSubcommand.parseCommand(sender, cmd, label, args);
break;
case "setspawn":
setSpawnSubcommand.parseCommand(sender, cmd, label, args);
break;
default:
(new MultiMessage(
PhantomWorlds.instance().messages.getConfig()
Expand Down Expand Up @@ -109,8 +103,6 @@ public List<String> onTabComplete(@NotNull CommandSender sender, @NotNull Comman
return createSubcommand.parseTabCompletion(sender, cmd, label, args);
case "gamerule":
return gameruleSubcommand.parseTabCompletion(sender, cmd, label, args);
case "setspawn":
return setSpawnSubcommand.parseTabCompletion(sender, cmd, label, args);
default:
return Collections.emptyList();
}
Expand Down

This file was deleted.

0 comments on commit d7d0e20

Please sign in to comment.