Fix powered being true when placing pressure plate
This commit is contained in:
parent
c6924eadc4
commit
65db3edc88
@ -33,6 +33,10 @@ class TritaniumPressurePlate : BasePressurePlateBlock(Properties.of(Material.MET
|
||||
p_49818_.add(TranslatableComponent("$descriptionId.description1").withStyle(ChatFormatting.DARK_GRAY))
|
||||
}
|
||||
|
||||
init {
|
||||
registerDefaultState(stateDefinition.any().setValue(BlockStateProperties.POWERED, false))
|
||||
}
|
||||
|
||||
override fun createBlockStateDefinition(p_49915_: StateDefinition.Builder<Block, BlockState>) {
|
||||
super.createBlockStateDefinition(p_49915_)
|
||||
p_49915_.add(BlockStateProperties.POWERED)
|
||||
|
Loading…
Reference in New Issue
Block a user