Missing enum error can be displayed twice or thrice #5743
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.
feature-ready
A PR/issue that has been approved, tested and can be merged/closed in the next feature version.
priority: lowest
"Nice to have" updates that are not required (tiny low impact bug fixes or QoL enhancements).
Skript/Server Version
Bug Description
When missing an enum from the default.lang, an error will be displayed that it is missing, but that error can sometimes be printed up to two or even three times consecutively.
Expected Behavior
This should not be the case, the error should only print once for each missing enum, no duplicates. There is most likely a for loop that is not being continued or returned when the error happens.
Steps to Reproduce
Remove an enum value from the default.lang
Errors or Screenshots
See #5740 for how it gets printed.
Other
No response
Agreement
The text was updated successfully, but these errors were encountered: