Moved particle registration into common setup.
This commit is contained in:
@ -34,6 +34,7 @@ public class Proxy implements IProxy {
|
||||
ModItems.register(modEventBus);
|
||||
ModCreativeModeTabs.register(modEventBus);
|
||||
ModSounds.register(modEventBus);
|
||||
ModParticles.register(modEventBus);
|
||||
|
||||
// Register mod event bus listeners
|
||||
modEventBus.addListener(Proxy::setup);
|
||||
@ -82,8 +83,6 @@ public class Proxy implements IProxy {
|
||||
public Client() {
|
||||
IEventBus modEventBus = FireflyBushBackport.getFMLJavaModLoadingContext().getModEventBus();
|
||||
|
||||
ModParticles.register(modEventBus);
|
||||
|
||||
// Register mod event bus listeners
|
||||
modEventBus.addListener(Client::setup);
|
||||
modEventBus.addListener(Client::postSetup);
|
||||
|
Reference in New Issue
Block a user