Fix ClientRegistryHandler being registered under the wrong bus

This commit is contained in:
Mrbysco 2024-03-04 22:55:09 +01:00
parent dcc2220a28
commit f9897f0664
2 changed files with 1 additions and 1 deletions

View file

@ -118,6 +118,7 @@ public class ActuallyAdditions {
eventBus.addListener(this::clientSetup);
eventBus.addListener(ActuallyAdditionsClient::setupSpecialRenders);
eventBus.addListener(this::particleFactoryRegister);
eventBus.register(new ClientRegistryHandler());
}
IFarmerBehavior.initBehaviors();
}

View file

@ -94,7 +94,6 @@ public class ActuallyAdditionsClient {
MenuScreens.register(ActuallyContainers.XPSOLIDIFIER_CONTAINER.get(), GuiXPSolidifier::new);
// From old proxy
NeoForge.EVENT_BUS.register(new ClientEvents());
NeoForge.EVENT_BUS.register(new ClientRegistryHandler());
NeoForge.EVENT_BUS.register(new SpecialRenderInit());
event.enqueueWork(() ->