Skip to content

Commit c331d54

Browse files
committed
Fixed illegal placement on beds
1 parent 72b99cb commit c331d54

File tree

1 file changed

+20
-1
lines changed

1 file changed

+20
-1
lines changed

common/src/main/kotlin/com/lambda/util/BlockUtils.kt

Lines changed: 20 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -60,7 +60,26 @@ object BlockUtils {
6060
Blocks.NOTE_BLOCK,
6161
Blocks.STRUCTURE_BLOCK,
6262
Blocks.COMMAND_BLOCK,
63-
).apply { addAll(shulkerBlocks) }
63+
).apply { addAll(shulkerBlocks); addAll(bedBlocks) }
64+
65+
val bedBlocks = setOf(
66+
Blocks.WHITE_BED,
67+
Blocks.ORANGE_BED,
68+
Blocks.MAGENTA_BED,
69+
Blocks.LIGHT_BLUE_BED,
70+
Blocks.YELLOW_BED,
71+
Blocks.LIME_BED,
72+
Blocks.PINK_BED,
73+
Blocks.GRAY_BED,
74+
Blocks.LIGHT_GRAY_BED,
75+
Blocks.CYAN_BED,
76+
Blocks.PURPLE_BED,
77+
Blocks.BLUE_BED,
78+
Blocks.BROWN_BED,
79+
Blocks.GREEN_BED,
80+
Blocks.RED_BED,
81+
Blocks.BLACK_BED,
82+
)
6483

6584
val signs = setOf(
6685
Blocks.OAK_SIGN,

0 commit comments

Comments
 (0)