Railcraft

Railcraft

34M Downloads

read packet data for our tiles sync

liach opened this issue ยท 4 comments

commented

Description of the Bug

handleUpdateTag(pkt.getNbtCompound());

wrap this in schedule on main thread runnable.

To Reproduce

Recall that exception on network thread you saw.

Expected behavior

Screenshots & Video

Logs & Environment
Just a reminder, so go back to dev channel in discord

  • Full log:
  • Crash report (If available):

Additional context

commented

Actually this is not network thread. It is using charge in client thread.

commented

Sure looked like network thread to me. The exception ofc assumed that if it wasn't the server it was the client as it is not aware of network threads.

If it was pure client thread it should have crashed the game.

commented

I guess it is already a scheduled task, and the debugger claims its the client thread, though I must admit the stack trace lacks any of the normal client start points. Well whatever.

commented

last i checked, handleupdatetag is sync on client (the net handler has a thread check)