Lamp fix
This commit is contained in:
parent
23532400bf
commit
2fcc5ffb07
@ -143,6 +143,12 @@ class LaboratoryLamp(val invertRedstone: Boolean) : Block(Properties.of(Material
|
||||
doTick(state, level, pos)
|
||||
}
|
||||
|
||||
@Suppress("OVERRIDE_DEPRECATION")
|
||||
override fun rotate(blockState: BlockState, rotation: Rotation): BlockState {
|
||||
@Suppress("DEPRECATION")
|
||||
return super.rotate(blockState, rotation).setValue(RotatableMatteryBlock.FACING_FULL, rotation.rotate(blockState[RotatableMatteryBlock.FACING_FULL]))
|
||||
}
|
||||
|
||||
fun doTick(
|
||||
state: BlockState,
|
||||
level: Level,
|
||||
|
Loading…
Reference in New Issue
Block a user