Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Fix registry resource conditions on loot tables. #3432

Merged
merged 3 commits into from
Nov 26, 2023

Conversation

modmuss50
Copy link
Member

If anyone has a better idea for passing the DRM instance to the load method please let me know. Closes #3322

@modmuss50 modmuss50 added the bug Something isn't working label Nov 21, 2023
@apple502j
Copy link
Contributor

I believe this is as simple as storing the DRM in a normal field rather than in ThreadLocal.

@modmuss50 modmuss50 added the merge me please Pull requests that are ready to merge label Nov 26, 2023
@modmuss50 modmuss50 merged commit de5c6cc into FabricMC:1.20.3 Nov 26, 2023
5 checks passed
modmuss50 added a commit that referenced this pull request Nov 26, 2023
* Fix registry resource conditions on loot tables.

* assert we dont already have the DRM set on this thread.

* Use a sync map

(cherry picked from commit de5c6cc)
modmuss50 added a commit that referenced this pull request Nov 26, 2023
* Fix registry resource conditions on loot tables.

* assert we dont already have the DRM set on this thread.

* Use a sync map

(cherry picked from commit de5c6cc)
(cherry picked from commit 239dafd)
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working merge me please Pull requests that are ready to merge
Projects
None yet
Development

Successfully merging this pull request may close these issues.

[Non functional] fabric-resource-conditions-api-v1
2 participants