Error with null in SectionNode section parsing #4473
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).
I tried debugging this, but I had to leave early for a dinner date.
I believe the Node in the iterator of ScriptLoader#loadItems(SectionNode) is null obviously, but I couldn't figure out why it was being null. The traces lead back to the SkriptParser not parsing the expression correctly, because SkriptParser.validateLine should catch and continue if the line is invalid, but it bypassed that check somehow, which then lead to the SkriptParser to return null and causing the whole spiral after that.
Could be due to the multi condition where filter lambda [example]->[example2]
This is also used in a function
My build is nothing changing. It's basically the master branch as of right now.
The text was updated successfully, but these errors were encountered: