Run Version Check only on clients

This commit is contained in:
Frank 2022-07-22 00:24:57 +02:00
parent 69d472d107
commit 9cb54346a2
2 changed files with 5 additions and 3 deletions

View file

@ -80,8 +80,10 @@ public class BCLib implements ModInitializer {
Configs.save();
WorldsTogether.FORCE_SERVER_TO_BETTERX_PRESET = Configs.SERVER_CONFIG.forceBetterXPreset();
VersionChecker.registerMod(MOD_ID);
if (isClient()) {
VersionChecker.registerMod(MOD_ID);
}
if (false && isDevEnvironment()) {
BCLBiome theYellow = BCLBiomeBuilder
.start(makeID("the_yellow"))