diff --git a/common/src/main/kotlin/juuxel/adorn/block/TableBlock.kt b/common/src/main/kotlin/juuxel/adorn/block/TableBlock.kt index b2dc79af5..fdaf8992a 100644 --- a/common/src/main/kotlin/juuxel/adorn/block/TableBlock.kt +++ b/common/src/main/kotlin/juuxel/adorn/block/TableBlock.kt @@ -9,7 +9,7 @@ import net.minecraft.util.math.Direction import net.minecraft.util.shape.VoxelShape import net.minecraft.util.shape.VoxelShapes -class TableBlock(variant: BlockVariant) : AbstractTableBlock(variant.createSettings()), BlockWithDescription { +class TableBlock(variant: BlockVariant) : AbstractTableBlock(createSettings(variant)), BlockWithDescription { override val sittingStat: Identifier? = null override val descriptionKey = "block.adorn.table.description" @@ -108,5 +108,9 @@ class TableBlock(variant: BlockVariant) : AbstractTableBlock(variant.createSetti } ) } + + private fun createSettings(variant: BlockVariant) = + variant.createSettings() + .solid() } }