Sorted indices expression throws errors when sorting a list with child values #6881
Closed
1 task done
Labels
bug
An issue that needs to be fixed. Alternatively, a PR fixing an issue.
completed
The issue has been fully resolved and the change will be in the next Skript update.
priority: medium
Issues that are detrimental to user experience (prohibitive bugs or lack of useful implementation).
Skript/Server Version
Bug Description
Using the "sorted indices" pattern from ExprIndices
Skript/src/main/java/ch/njol/skript/expressions/ExprIndices.java
Line 63 in e2928ce
Throws an internal error when sorting a list with child values, such as
{_list::a}
having the values{_list::a} = 123
and{_list::a::1} = 321
.Expected Behavior
Expected behavior
Steps to Reproduce
Bugged behavior
Errors or Screenshots
https://gist.github.com/mpschorr/8c016c197cb9c2dca0ab35be79254c0e
Other
No response
Agreement
The text was updated successfully, but these errors were encountered: