diff --git a/src/main/kotlin/ru/dbotthepony/mc/otm/block/decorative/LaboratoryLamp.kt b/src/main/kotlin/ru/dbotthepony/mc/otm/block/decorative/LaboratoryLamp.kt index 1392e4894..b6e107560 100644 --- a/src/main/kotlin/ru/dbotthepony/mc/otm/block/decorative/LaboratoryLamp.kt +++ b/src/main/kotlin/ru/dbotthepony/mc/otm/block/decorative/LaboratoryLamp.kt @@ -185,8 +185,9 @@ class LaboratoryLamp(val invertRedstone: Boolean) : Block(Properties.of(Material if (shouldBeLit) { if (targetState.isAir && targetState.block != MBlocks.LABORATORY_LAMP_LIGHT) { - level.setBlockAndUpdate(target, MBlocks.LABORATORY_LAMP_LIGHT.defaultBlockState().setValue( - FACING_FULL, -facing)) + level.setBlockAndUpdate(target, MBlocks.LABORATORY_LAMP_LIGHT.defaultBlockState() + .setValue(FACING_FULL, facing.opposite) + ) } } else { if (targetState.block == MBlocks.LABORATORY_LAMP_LIGHT) {