Skip to content

Commit

Permalink
Fix incorrect mapping
Browse files Browse the repository at this point in the history
  • Loading branch information
potarodev committed Jul 16, 2024
1 parent 051a280 commit 6c3057c
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/main/java/ch/njol/skript/expressions/ExprIndices.java
Original file line number Diff line number Diff line change
Expand Up @@ -109,7 +109,7 @@ protected String[] get(Event e) {
: entry.getValue()
))
.sorted((a, b) -> ExprSortedList.compare(a.getValue(), b.getValue()) * direction)
.map(Entry::getKey)
.map(Pair::getKey)
.toArray(String[]::new);
}

Expand Down

0 comments on commit 6c3057c

Please sign in to comment.