Skip to content

fix: improve lock and sync when calling and trimming#3543

Open
dordsor21 wants to merge 1 commit into
mainfrom
fiix/call-trim-deadlock
Open

fix: improve lock and sync when calling and trimming#3543
dordsor21 wants to merge 1 commit into
mainfrom
fiix/call-trim-deadlock

Conversation

@dordsor21
Copy link
Copy Markdown
Member

 - also fix error when editing newly generated chunks due to postprocessgen not having been completed
 - fixes #3490
@dordsor21 dordsor21 requested a review from a team as a code owner May 24, 2026 13:21
Copy link
Copy Markdown
Member

@PierreSchwang PierreSchwang left a comment

Choose a reason for hiding this comment

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

Untested, but looks reasonable so far

Comment on lines +156 to +160
fieldPendingBlockEntities = ChunkAccess.class.getDeclaredField(Refraction.pickName(
"pendingBlockEntities",
"i"
)
);
Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

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

There shouldn't be any obfuscation anymore, right?

Copy link
Copy Markdown
Member Author

Choose a reason for hiding this comment

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

No idea, I was just going along with everything... If it's been removed we can clean up a bunch of this class I guess? (This field is both paper and spigot fwiw)

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.

Plugin "stopping" to work.

3 participants