Skip to content

Commit

Permalink
Fix fog renderer not client
Browse files Browse the repository at this point in the history
  • Loading branch information
yuesha-yc committed Dec 17, 2024
1 parent 506d33a commit b925f5a
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -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;
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -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;
Expand All @@ -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;
Expand Down

0 comments on commit b925f5a

Please sign in to comment.