theconezone
theconezone
Had this happen twice last night during testing. Player joined and server deadlocked. I have not been able to reproduce it. I figured it was a plugin issue. [2021-06-19-34.log](https://github.com/PaperMC/Paper/files/6682971/2021-06-19-34.log) [2021-06-19-33.log](https://github.com/PaperMC/Paper/files/6682972/2021-06-19-33.log)...
Found the issue. Lua.Init() expects the "luanet" global to be defined, but it is not defined unless we do not pass in our state. There are two ways to fix...
Hey @viniciusjarina -- thanks for the response. I believe you misunderstand though. The example I posted was just intended to illustrate how to recreate the bug in the NLua constructor....
That's actually a very good question. You can just get the internal Lua state from the property. Maybe the property didn't exist at the time, or I just didn't notice...