Long numbers in list variable index are not working as expected #4729
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
Two list variables in the form
{var::%{index1}%::*}
and{var::%{index2}%::*}
are treated the same if{index1}
and{index2}
are large numbers. This occurs around 20 characters of digits, but I suspect that it is not a problem with the index string length being too large as the variables are distinct when the indexes are not numbers.Expected Behavior
The variables
{var::%{index1}%::*}
and{var::%{index2}%::*}
should always be different when{_index1}
and{_index2}
are not the same. In the tests, changing{var::%{index2}%::*}
should not change{var::%{index1}%::*}
Steps to Reproduce
Errors or Screenshots
Output:
Other
No response
Agreement
The text was updated successfully, but these errors were encountered: