Store object holder handlers per registry name (#10899)

Co-authored-by: LexManos <[email protected]>
This commit is contained in:
BonsUnleashedandLexManos authored and LexManos committed 2026-10-12 16:19:07 -07:00
1 parent 96ffdf9ee5
commit 6162ec30bd
4 files changed
+145 -49

No files matched your search

@@ -352,7 +352,7 @@ public class GameData {
if (forgeRegistry != null)
forgeRegistry.freeze();
LOGGER.debug(REGISTRIES, "Applying holder lookups: {}", registryKey.location());
ObjectHolderRegistry.applyObjectHolders(registryKey.location()::equals);
ObjectHolderRegistry.applyObjectHolders(registryKey.location());
LOGGER.debug(REGISTRIES, "Holder lookups applied: {}", registryKey.location());
} catch (Throwable t) {
aggregate.addSuppressed(t);