diff --git a/Common/src/main/java/me/hypherionmc/hyperlighting/common/blocks/AdvancedCampfire.java b/Common/src/main/java/me/hypherionmc/hyperlighting/common/blocks/AdvancedCampfire.java index 6026f9a..69fc166 100644 --- a/Common/src/main/java/me/hypherionmc/hyperlighting/common/blocks/AdvancedCampfire.java +++ b/Common/src/main/java/me/hypherionmc/hyperlighting/common/blocks/AdvancedCampfire.java @@ -169,7 +169,7 @@ public class AdvancedCampfire extends BaseEntityBlock implements DyableBlock, Li LevelAccessor levelAccessor = blockPlaceContext.getLevel(); BlockPos blockPos = blockPlaceContext.getClickedPos(); boolean bl = levelAccessor.getFluidState(blockPos).getType() == Fluids.WATER; - return this.defaultBlockState().setValue(SIGNAL_FIRE, this.isSmokeSource(levelAccessor.getBlockState(blockPos.below()))).setValue(LIT, !bl).setValue(FACING, blockPlaceContext.getHorizontalDirection()); + return this.defaultBlockState().setValue(SIGNAL_FIRE, this.isSmokeSource(levelAccessor.getBlockState(blockPos.below()))).setValue(LIT, !bl && CommonRegistration.config.campfireConfig.litByDefault).setValue(FACING, blockPlaceContext.getHorizontalDirection()); } @Override