CreativeCore

CreativeCore

88M Downloads

Inconsistent ConcurrentModificationException on startup

yungnickyoung opened this issue ยท 1 comments

commented

https://pastebin.com/S75pmjSg

I rarely get a ConcurrentModificationException on startup. It appears during client init, when registering commands:

ClientCommandRegistry.register((LiteralArgumentBuilder<ISuggestionProvider>) ((LiteralArgumentBuilder) LiteralArgumentBuilder.literal("test-client")).executes((x) -> {

I have no experience with registering commands, but perhaps the command registration needs to be wrapped in event.enqueueWork() to execute thread-safely.

Potential duplicate of #105

commented

Fixed in the newer version of the mods, hope it works now. Thanks for giving me this hint. If it still happens again make sure to post it here.