Update GSON to not use deprecated method.
Bump LuaJava (fixes #16)
See https://github.com/LuaLink/luajava/commit/91992006372d49d7b472a9f2870fe87fa08a891e
chore: Bump LuaJava version
- Improve "no matching method" errors (
ab76f3624cf1b892a2d0e2625d1a5a35826e9847
)
chore: Cleanup scriptmanager.lua
chore: Improve script sandboxing by making standard Lua functions read-only
lua: Add a synchronized
function
This works similar to Java's synchronized keyword and uses it under the hood. You should use this if you are gonna be doing any operations off of the main thread to avoid JVM crashes.
Fix partial loads when a script errors on load.
Fix /lualink reload|unload erroring on scripts that aren't already loaded.
Update src/main/resources/lua/scriptmanager.lua
Co-authored-by: Copilot 175728472+Copilot@users.noreply.github.com
Test
Merge pull request #21 from LuaLink/fix-load-errors
Fix partial loads when a script errors on load.