Store object holder handlers per registry name (#10899)

This commit is contained in:
BonsUnleashed authored and LexManos committed 2026-10-12 13:36:47 -07:00
1 parent 41dfdc8f8b
commit 3534d4664b
3 files changed
+85 -61

No files matched your search

@@ -350,7 +350,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);