There were a couple of issues in the after_hooks handling. A typo, and something more sinister:
Because I was concatenating the `results` packed table with the `pargs` packed table, after_hooks receive (results, ...) as expected... unless results is nil. Then after_hooks receive only the args. Often this means that where the result was expected, the hook receives `self`. That's a problem, and caused me many crashes in testing.
It's fixed now!
Welcome to the official Starbound Mod repository, Guest! Not sure how to install your mods? Check out the installation guide or check out the modding help thread for more guides.Dismiss Notice
Outdated Mods have been moved to their own category! If you update your mod please let a moderator know so we can move it back to the active section.
Utilities and base asset Lua script support for smarter Lua script patching