From d7a7a83d283ae3b89d8efe74aa4caef2ee83d6dc Mon Sep 17 00:00:00 2001 From: tianyu <32282861@qq.com> Date: Wed, 24 Jul 2024 21:18:23 +0800 Subject: [PATCH] =?UTF-8?q?=E6=B5=8B=E8=AF=95=E7=89=88?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- src/main/java/me/Demon/BungeeWarpPro/atp/AtpCommand.java | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/main/java/me/Demon/BungeeWarpPro/atp/AtpCommand.java b/src/main/java/me/Demon/BungeeWarpPro/atp/AtpCommand.java index a4ea329..b924015 100644 --- a/src/main/java/me/Demon/BungeeWarpPro/atp/AtpCommand.java +++ b/src/main/java/me/Demon/BungeeWarpPro/atp/AtpCommand.java @@ -48,7 +48,7 @@ public class AtpCommand extends Command implements TabExecutor { } else { String server_name = player1.getServer().getInfo().getName(); System.out.print("目标所在区服: " + server_name); - if (server_name.contains("chkdsc")) { + if (server_name.contains("sky")) { tpa(player, player1, player1.getServer().getInfo()); } else { player.sendMessage(new TextComponent("§8§l[§c§l!§8§l] §7未在战争领域服务器中找到 §a" + target)); @@ -71,7 +71,7 @@ public class AtpCommand extends Command implements TabExecutor { return; } player.sendMessage(new TextComponent("§8§l[§e§l!§8§l] §7你接受了 §6" + player1.getName() + " §7的传送请求")); - TpaUtil.sendAcceptMessage(player1, player1); + TpaUtil.sendAcceptMessage(player1, player); tpaMap.remove(player1); playerMap.remove(player); ServerInfo serverInfo = player.getServer().getInfo();