Closed geheur closed 1 year ago
I think this only matters for the setGameState() call, right? So if I wrap it like:
clientThread.invokeLater(() ->
{
client.setGameState(GameState.LOADING);
});
Should solve the issue?
I'd expect that would work. Thanks for looking at this <3.
Hopefully this should do it: https://github.com/petertalbanese/SoundSwapper/pull/17
Np, thanks for the report!
configchanged can happen on any thread, so you should probably wrap it in clienthtread.invokelater.
This is an error not an exception so it isn't caught and cuts the profile change short with assertions enabled which makes working on my plugin hub plugins harder :P