Multiplayer disconnections and a crash

Issue #16 new
Jürgen Schneider Tascenion created an issue

I run a Fabric 1.16.3 server.
While trying to join the server, sometimes I would be disconnected immediately from the server. Then this error would display in the console. The server would not crash, however, and on a subsequent attempt, I would successfully join the server.
Most recently, however, I went to the nether and jumped into the lava sea. One second or two after I died, the server crashed. After reopening the server and trying to rejoin, it crashed again. This is the crash.

Comments (2)

  1. Mitchell Skaggs

    I encountered the first issue as well, but only when the server has just started up.

    I believe it occurs when the PlayerJoinCallback is called before the first ServerTickEvents.END_SERVER_TICK callback. This means that MAmbienceFabric.server is null when AccessorFabricServer.updatePlayerInstance runs, thus a NullPointerException occurs.

    I have no idea about the second one, it’s probably a really rare off-by-one error with some sound chance. I haven’t ever seen it.

  2. Log in to comment