Skip to content

Commit

Permalink
Merge pull request #3 from matsu1213/main
Browse files Browse the repository at this point in the history
  • Loading branch information
acrylic-style authored Jul 25, 2022
2 parents 91fcf3f + 165e9b3 commit 9fbfcf8
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 9fbfcf8

Please sign in to comment.