The ItemProperties::register method is not-thread safe, potentially leading to ConcurrentModificationException being thrown on startup. This MR attempts to fix that by enqueuing the ClientSetup::onClientSetup method, based on a similar issue and fix in another mod.
Potentially fixes issue #107. It's hard to test whether the fix actually works because concurrency bugs are a pain to reproduce.
The
ItemProperties::register
method is not-thread safe, potentially leading toConcurrentModificationException
being thrown on startup. This MR attempts to fix that by enqueuing theClientSetup::onClientSetup
method, based on a similar issue and fix in another mod.Potentially fixes issue #107. It's hard to test whether the fix actually works because concurrency bugs are a pain to reproduce.