Replaced deprecated method

This commit is contained in:
Frank 2022-06-21 19:36:11 +02:00
parent c2e5096056
commit 3725fbb029

View file

@ -43,7 +43,7 @@ import org.jetbrains.annotations.Nullable;
public class BaseFurnaceBlock extends FurnaceBlock implements BlockModelProvider, RenderLayerProvider {
public BaseFurnaceBlock(Block source) {
this(FabricBlockSettings.copyOf(source).lightLevel(state -> state.getValue(LIT) ? 13 : 0));
this(FabricBlockSettings.copyOf(source).luminance(state -> state.getValue(LIT) ? 13 : 0));
}
public BaseFurnaceBlock(BlockBehaviour.Properties properties) {