From 758001e2fd2fcd228d457f1dcee1104bbb79b4cd Mon Sep 17 00:00:00 2001 From: Mrbysco Date: Sat, 19 Oct 2024 18:37:45 +0200 Subject: [PATCH] Move init of ActuallyAdditionsClient inside the isClient check --- .../de/ellpeck/actuallyadditions/mod/ActuallyAdditions.java | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/main/java/de/ellpeck/actuallyadditions/mod/ActuallyAdditions.java b/src/main/java/de/ellpeck/actuallyadditions/mod/ActuallyAdditions.java index 7ebc43653..6cf02bc4b 100644 --- a/src/main/java/de/ellpeck/actuallyadditions/mod/ActuallyAdditions.java +++ b/src/main/java/de/ellpeck/actuallyadditions/mod/ActuallyAdditions.java @@ -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);