
[Bug] payload() is null
iMahco opened this issue ยท 7 comments
Minecraft Version
1.21.1
KubeJS Version
2101.7.1-build.181
Rhino Version
rhino-2101.2.7-build.74
Architectury Version
Forge/Fabric Version
Neoforge 21.1.177
Describe your issue
Whenever /kubejs reload server-scripts
is ran on a server, any incoming connections from that moment on receive an "invalid player data" error.
Restarting the server allows connections up until the command is ran once again.
Tested with a fresh client and server that has neoforge and only kubejs and rhino present.
Crash report/logs
I also have the same problem, I searched for various possibilities to try to fix it, but all failed
I also have the same problem, I searched for various possibilities to try to fix it, but all failed
Running a full /reload will fix the player data error until you run the server_scripts reload command again, but thats not really a fix
Reading at kubejs code, this is intended, tho should have a better error handling stating something like
"Players are not able to join due to incomplete reload of server, please reload the server."
Reading at kubejs code, this is intended, tho should have a better error handling stating something like "Players are not able to join due to incomplete reload of server, please reload the server."
So do we always have to restart the server?