Private
Public Access
1
0

Merge pull request 'bug/15-particle_crash' (#18) from bug/15-particle_crash into 1.20.1

Reviewed-on: #18
This commit is contained in:
2025-06-08 22:21:22 +00:00

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);