Functions not working when passing empty list variable #3687
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).
Description
Functions not working correctly when passing an empty list variable to them.
Steps to Reproduce
The script:
Result should be:
"something" in the chat.
But nothing happens. (not even a console error)
Now if you add an element to the list variable like this, it will work:
result: "something" in chat
Expected Behavior
The code in the functions should be executed, even when you pass an empty list variable to it.
Server Information
The text was updated successfully, but these errors were encountered: