LayerLightEngine -> LightEngine

This commit is contained in:
Frank 2023-05-17 12:40:54 +02:00
parent 9573b280ad
commit 8ffe1dbc2e

View file

@ -30,7 +30,7 @@ import net.minecraft.world.level.block.Block;
import net.minecraft.world.level.block.Blocks;
import net.minecraft.world.level.block.SnowLayerBlock;
import net.minecraft.world.level.block.state.BlockState;
import net.minecraft.world.level.lighting.LayerLightEngine;
import net.minecraft.world.level.lighting.LightEngine;
import net.minecraft.world.level.material.MapColor;
import net.minecraft.world.level.storage.loot.LootContext;
import net.minecraft.world.level.storage.loot.parameters.LootContextParams;
@ -116,7 +116,7 @@ public class BaseTerrainBlock extends BaseBlock {
} else if (blockState.getFluidState().getAmount() == 8) {
return false;
} else {
int i = LayerLightEngine.getLightBlockInto(
int i = LightEngine.getLightBlockInto(
worldView,
state,
pos,