Private
Public Access
1
0

Moved particle registration into common setup.

This commit is contained in:
2025-06-08 23:20:03 +01:00
parent bf178a22e9
commit d40fa0c53e

View File

@ -34,6 +34,7 @@ public class Proxy implements IProxy {
ModItems.register(modEventBus); ModItems.register(modEventBus);
ModCreativeModeTabs.register(modEventBus); ModCreativeModeTabs.register(modEventBus);
ModSounds.register(modEventBus); ModSounds.register(modEventBus);
ModParticles.register(modEventBus);
// Register mod event bus listeners // Register mod event bus listeners
modEventBus.addListener(Proxy::setup); modEventBus.addListener(Proxy::setup);
@ -82,8 +83,6 @@ public class Proxy implements IProxy {
public Client() { public Client() {
IEventBus modEventBus = FireflyBushBackport.getFMLJavaModLoadingContext().getModEventBus(); IEventBus modEventBus = FireflyBushBackport.getFMLJavaModLoadingContext().getModEventBus();
ModParticles.register(modEventBus);
// Register mod event bus listeners // Register mod event bus listeners
modEventBus.addListener(Client::setup); modEventBus.addListener(Client::setup);
modEventBus.addListener(Client::postSetup); modEventBus.addListener(Client::postSetup);