Skip to content

Use thread-safe random sources - #541

Closed
NanaChiyo0721 wants to merge 0 commit into
PaperMC:ver/26.3.xfrom
NanaChiyo0721:ver/26.3.x
Closed

NanaChiyo0721 wants to merge 0 commit into
PaperMC:ver/26.3.xfrom
NanaChiyo0721:ver/26.3.x

Conversation

@NanaChiyo0721

Copy link
Copy Markdown
Contributor

No description provided.

@jpenilla

Copy link
Copy Markdown
Member

The EnchantingTableBlockEntity change can be dropped: RANDOM is only used in bookAnimationTick, and that ticker only runs on the client (EnchantingTableBlock.getTicker returns null on the server). The other two changes look good.

jpenilla pushed a commit that referenced this pull request Nov 19, 2026
@jpenilla

Copy link
Copy Markdown
Member

Pulled this in as eca40f9 (without the EnchantingTableBlockEntity change).

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