-
-
Notifications
You must be signed in to change notification settings - Fork 416
Closed
Description
Skript/Server Version
[07:53:10] [Server thread/INFO]: [Skript] Skript's aliases can be found here: https://github.com/SkriptLang/skript-aliases
[07:53:10] [Server thread/INFO]: [Skript] Skript's documentation can be found here: https://skriptlang.github.io/Skript
[07:53:10] [Server thread/INFO]: [Skript] Server Version: git-Paper-794 (MC: 1.16.5)
[07:53:10] [Server thread/INFO]: [Skript] Skript Version: 2.6.2
[07:53:10] [Server thread/INFO]: [Skript] Installed Skript Addons:
[07:53:10] [Server thread/INFO]: [Skript] - skript-yaml v1.4
[07:53:10] [Server thread/INFO]: [Skript] - skript-reflect v2.3 (https://github.com/TPGamesNL/skript-reflect)
[07:53:10] [Server thread/INFO]: [Skript] - reqn v1.3.0-alpha
[07:53:10] [Server thread/INFO]: [Skript] - SkriptJSON v1.0.0
[07:53:10] [Server thread/INFO]: [Skript] Installed dependencies: NoneBug Description
With setting 'script loader thread size' to 1, reloading an unmodified script containing a function will throw a function name already exists error. Furthermore, reloading the second time shows success without errors, but function does not recognize anymore, until you disable and enable the script manually.
Expected Behavior
Reloads successfully without issues.
Steps to Reproduce
- Set
script loader thread sizeto1, or higher - Create a new script with a function and any valid code belong to it
- Reload the script (expected results: no errors, function can be used normally)
- Reload the same script again (expected results: function already exist error -- function not recognized upon calling)
- Reload the same script again (expected results: no errors, but function not recognized upon calling)
Disable and re-enable the same script will eliminate the issue, but reloading it again will take you back to the bug.
Errors or Screenshots
Other
No response
Agreement
- I have read the guidelines above and affirm I am following them with this report.
Metadata
Metadata
Assignees
Labels
No labels
