mirror of
https://github.com/Ellpeck/ActuallyAdditions.git
synced 2024-11-22 07:13:28 +01:00
Move init of ActuallyAdditionsClient inside the isClient check
This commit is contained in:
parent
b5cb343492
commit
758001e2fd
1 changed files with 1 additions and 1 deletions
|
@ -94,7 +94,6 @@ public class ActuallyAdditions {
|
|||
ActuallyBiomeModifiers.init(eventBus);
|
||||
ActuallyParticles.init(eventBus);
|
||||
ActuallyTags.init();
|
||||
ActuallyAdditionsClient.init(eventBus);
|
||||
eventBus.addListener(this::onConfigReload);
|
||||
|
||||
NeoForge.EVENT_BUS.addListener(this::serverStarted);
|
||||
|
@ -110,6 +109,7 @@ public class ActuallyAdditions {
|
|||
eventBus.addListener(this::setup);
|
||||
|
||||
if (dist.isClient()) {
|
||||
ActuallyAdditionsClient.init(eventBus);
|
||||
container.registerExtensionPoint(IConfigScreenFactory.class, ConfigurationScreen::new);
|
||||
eventBus.addListener(ActuallyAdditionsClient::setup);
|
||||
eventBus.addListener(ActuallyAdditionsClient::setupMenus);
|
||||
|
|
Loading…
Reference in a new issue