Store object holder handlers per registry name (#10899)

This commit is contained in:
BonsUnleashed authored and GitHub committed 2026-10-12 13:18:32 -07:00
1 parent 4249a25ec7
commit aa4e31beab
3 files changed
+85 -61

No files matched your search

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