Skip to content

Commit

Permalink
置換すべき文字列を修正
Browse files Browse the repository at this point in the history
  • Loading branch information
matsu1213 authored Jul 25, 2022
1 parent 91fcf3f commit 165e9b3
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -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) {
Expand Down

0 comments on commit 165e9b3

Please sign in to comment.