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) {