diff --git a/src/main/java/com/teammoeg/frostedheart/bootstrap/reference/FHTags.java b/src/main/java/com/teammoeg/frostedheart/bootstrap/reference/FHTags.java index 5e08202eb..e5c3c5cd4 100644 --- a/src/main/java/com/teammoeg/frostedheart/bootstrap/reference/FHTags.java +++ b/src/main/java/com/teammoeg/frostedheart/bootstrap/reference/FHTags.java @@ -19,9 +19,9 @@ package com.teammoeg.frostedheart.bootstrap.reference; -import com.simibubi.create.foundation.utility.Lang; import com.teammoeg.frostedheart.FHMain; +import com.teammoeg.frostedheart.util.lang.Lang; import net.minecraft.core.registries.Registries; import net.minecraft.resources.ResourceLocation; import net.minecraft.tags.BlockTags; diff --git a/src/main/java/com/teammoeg/frostedheart/content/climate/render/FogModification.java b/src/main/java/com/teammoeg/frostedheart/content/climate/render/FogModification.java index 87fbe0bb1..c43cd791a 100644 --- a/src/main/java/com/teammoeg/frostedheart/content/climate/render/FogModification.java +++ b/src/main/java/com/teammoeg/frostedheart/content/climate/render/FogModification.java @@ -31,6 +31,7 @@ import net.minecraft.world.level.LightLayer; import net.minecraft.world.level.biome.Biome; import net.minecraft.world.level.material.FogType; +import net.minecraftforge.api.distmarker.Dist; import net.minecraftforge.client.event.ViewportEvent; import net.minecraftforge.eventbus.api.SubscribeEvent; import net.minecraftforge.fml.common.Mod; @@ -43,7 +44,7 @@ * * License: MIT */ -@Mod.EventBusSubscriber(modid = FHMain.MODID, bus = Mod.EventBusSubscriber.Bus.FORGE) +@Mod.EventBusSubscriber(modid = FHMain.MODID, value = Dist.CLIENT) public class FogModification { private static float prevFogDensity = -1.0F; private static long prevFogTick = -1L;