From f36f532c633b3d59679de983bfc6ab31d6cba0df Mon Sep 17 00:00:00 2001 From: SquidDev Date: Fri, 15 May 2020 23:05:14 +0100 Subject: [PATCH] Migrate config to the server (rather than common) --- src/main/java/dan200/computercraft/shared/Config.java | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/src/main/java/dan200/computercraft/shared/Config.java b/src/main/java/dan200/computercraft/shared/Config.java index a7dbfe32f..2517133bd 100644 --- a/src/main/java/dan200/computercraft/shared/Config.java +++ b/src/main/java/dan200/computercraft/shared/Config.java @@ -73,7 +73,7 @@ public final class Config private static final ConfigValue monitorRenderer; - private static final ForgeConfigSpec commonSpec; + private static final ForgeConfigSpec serverSpec; private static final ForgeConfigSpec clientSpec; private Config() {} @@ -243,7 +243,7 @@ public final class Config builder.pop(); } - commonSpec = builder.build(); + serverSpec = builder.build(); Builder clientBuilder = new Builder(); monitorRenderer = clientBuilder @@ -255,7 +255,7 @@ public final class Config public static void load() { - ModLoadingContext.get().registerConfig( ModConfig.Type.COMMON, commonSpec ); + ModLoadingContext.get().registerConfig( ModConfig.Type.SERVER, serverSpec ); ModLoadingContext.get().registerConfig( ModConfig.Type.CLIENT, clientSpec ); }