Speed up forge event registration (#186)

Co-authored-by: github-actions[bot] <41898282+github-actions[bot]@users.noreply.github.com>
Co-authored-by: Alexdoru <[email protected]>
This commit is contained in:
authored and GitHub committed 2025-07-17 23:45:05 +02:00
1 parent 121a0ce23b
commit 94022962b9
11 files changed
+375 -349

No files matched your search

@@ -60,9 +60,7 @@ public class ArmorProxyClient extends ArmorProxyCommon {
@Override
public void preInit() {
controlInstance = new ArmorControls();
FMLCommonHandler.instance().bus().register(controlInstance);
MinecraftForge.EVENT_BUS.register(controlInstance);
MinecraftForge.EVENT_BUS.register(new TabRegistry());
MinecraftForge.EVENT_BUS.register(new TabRegistry.EventHandler());
}
@Override