Skip to content

Fix thread race issue - #448

Draft
lowercasebtw wants to merge 1 commit into
SkyblockAPI:4.0from
Polyfrost:4.0
Draft

Fix thread race issue#448
lowercasebtw wants to merge 1 commit into
SkyblockAPI:4.0from
Polyfrost:4.0

Conversation

@lowercasebtw

Copy link
Copy Markdown

Fixes issue that happens when using lithium (palette index off thread issue)

private fun postBlockChange(pos: BlockPos, new: BlockState) {
if (!McLevel.hasLevel) return
val old = McLevel[pos]
McClient.runOrNextTick {

Copy link
Copy Markdown

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

"If this only happens with lithium, this pr will slow down block updates without lithium" - juna

@Wyvest

Wyvest commented Aug 7, 2026

Copy link
Copy Markdown

Also lowercase please share the crash in question here

@j10a1n15
j10a1n15 marked this pull request as draft August 21, 2026 19:57
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