Skip to content
This repository was archived by the owner on Jun 3, 2024. It is now read-only.

Commit aa1f121

Browse files
authored
Update RegistryEventDispatcher.java
1 parent 63da775 commit aa1f121

File tree

1 file changed

+3
-1
lines changed

1 file changed

+3
-1
lines changed

patchwork-registries/src/main/java/net/patchworkmc/impl/registries/RegistryEventDispatcher.java

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -77,7 +77,9 @@ public static void dispatchRegistryEvents(Consumer<RegistryEvent.Register> handl
7777

7878
registry.unfreeze();
7979
handler.accept(new RegistryEvent.Register(registry));
80-
registry.freeze();
80+
// If we freeze the registry here, Fabric mods loaded after us will not be able to register things.
81+
// TODO: Find a better location to freeze the registry.
82+
// registry.freeze();
8183
}
8284
}
8385
}

0 commit comments

Comments
 (0)