From 32bd46c97ddf11f9983ad8366343d0a96d7e7d1c Mon Sep 17 00:00:00 2001 From: Lixfel Date: Fri, 22 Jul 2022 10:25:14 +0200 Subject: [PATCH] Fix arena Signed-off-by: Lixfel --- src/de/steamwar/bungeecore/commands/ArenaCommand.java | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) diff --git a/src/de/steamwar/bungeecore/commands/ArenaCommand.java b/src/de/steamwar/bungeecore/commands/ArenaCommand.java index 83558ae..7f6503f 100644 --- a/src/de/steamwar/bungeecore/commands/ArenaCommand.java +++ b/src/de/steamwar/bungeecore/commands/ArenaCommand.java @@ -23,10 +23,8 @@ import de.steamwar.bungeecore.Servertype; import de.steamwar.bungeecore.Subserver; import de.steamwar.command.SWCommand; import de.steamwar.command.TypeMapper; -import de.steamwar.messages.ChatSender; import net.md_5.bungee.api.CommandSender; import net.md_5.bungee.api.ProxyServer; -import net.md_5.bungee.api.config.ServerInfo; import net.md_5.bungee.api.connection.ProxiedPlayer; import java.util.Collection; @@ -44,7 +42,7 @@ public class ArenaCommand extends SWCommand { TpCommand.teleport(player, server.getServer()); } - @ClassMapper(value = ServerInfo.class, local = true) + @ClassMapper(value = Subserver.class, local = true) public TypeMapper serverInfoTypeMapper() { return new TypeMapper() { @Override