From 2431e76c601402eb6253c9966718c30f7e566a55 Mon Sep 17 00:00:00 2001 From: yoyosource Date: Wed, 13 Apr 2022 22:01:11 +0200 Subject: [PATCH] Update stuff --- src/de/steamwar/command/TestCommand.java | 23 ----------------------- 1 file changed, 23 deletions(-) delete mode 100644 src/de/steamwar/command/TestCommand.java diff --git a/src/de/steamwar/command/TestCommand.java b/src/de/steamwar/command/TestCommand.java deleted file mode 100644 index bc8560e..0000000 --- a/src/de/steamwar/command/TestCommand.java +++ /dev/null @@ -1,23 +0,0 @@ -package de.steamwar.command; - -import net.md_5.bungee.BungeeServerInfo; -import net.md_5.bungee.api.CommandSender; -import net.md_5.bungee.api.config.ServerInfo; -import net.md_5.bungee.api.connection.ProxiedPlayer; -import net.md_5.bungee.api.plugin.Command; - -import java.net.InetSocketAddress; - -public class TestCommand extends Command { // TODO: This will be removed later on - - public TestCommand() { - super("test"); - } - - @Override - public void execute(CommandSender commandSender, String[] strings) { - ServerInfo serverInfo = new BungeeServerInfo("test", new InetSocketAddress("45.81.234.82", 25565), "test", false); - ProxiedPlayer player = (ProxiedPlayer) commandSender; - player.connect(serverInfo); - } -}