Skip to content

Conversation

Californium-251
Copy link

Note: this just made the function that calculates armor sets run on another thread (it otherwise remains mostly unchanged).

I didn't want to restructure the code too much, but ArmorSetFeatureHelper.armorSetSlots should only be accessed when the mutex is held. It's a quick and dirty solution, but it seems to work and it's better than having your game freeze for an uncomfortable amount of time after clicking the armor set tab.

I've tested this in both vanilla and calamity and haven't had any crashes or issues with the latest commit. Please tell me if you run into any issues.

@JavidPack
Copy link
Owner

Thanks, I'm a bit busy lately, but I will try to get to merging this as soon as I can.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants