почему у прозрачного блока есть СТОРОНЫ БЛЯТЬ
This commit is contained in:
parent
288b2522c7
commit
9025036a6f
@ -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) {
|
||||
|
Loading…
Reference in New Issue
Block a user