From 165e9b3de2ab0a8d1eb298d43f13c2d7d44b2aff Mon Sep 17 00:00:00 2001 From: matsu1213 <85377530+matsu1213@users.noreply.github.com> Date: Mon, 25 Jul 2022 18:31:24 +0900 Subject: [PATCH] =?UTF-8?q?=E7=BD=AE=E6=8F=9B=E3=81=99=E3=81=B9=E3=81=8D?= =?UTF-8?q?=E6=96=87=E5=AD=97=E5=88=97=E3=82=92=E4=BF=AE=E6=AD=A3?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .../api/protocol/handler/ProxyboundToggleSaraShowPacket.java | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/api/src/main/java/net/azisaba/azipluginmessaging/api/protocol/handler/ProxyboundToggleSaraShowPacket.java b/api/src/main/java/net/azisaba/azipluginmessaging/api/protocol/handler/ProxyboundToggleSaraShowPacket.java index f7c0322..5ac91a8 100644 --- a/api/src/main/java/net/azisaba/azipluginmessaging/api/protocol/handler/ProxyboundToggleSaraShowPacket.java +++ b/api/src/main/java/net/azisaba/azipluginmessaging/api/protocol/handler/ProxyboundToggleSaraShowPacket.java @@ -45,7 +45,7 @@ public void handle(@NotNull PacketSender sender, @NotNull PlayerWithServerMessag boolean modified = false; Track track = api.getTrackManager().createAndLoadTrack("sara").join(); for (String groupName : track.getGroups()) { - int yen = Integer.parseInt(groupName.replace("sara", "")); + int yen = Integer.parseInt(groupName.replace("yen", "")); Node nodeSara = LuckPermsUtil.findParentNode(map, groupName, null); Node nodeHideSara = LuckPermsUtil.findParentNode(map, "hide" + yen, null); if (nodeSara != null || nodeHideSara != null) {