Skip to content

Commit

Permalink
fix: malformed map-handling
Browse files Browse the repository at this point in the history
  • Loading branch information
Boy0000 committed Jan 10, 2024
1 parent a7e1e95 commit 2ced02a
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -47,7 +47,7 @@ private fun syncBlockLocker(corr: Block) {
*/
object SectionSyncListener : Listener {

private val attachedBlocks = Tag.REPLACEABLE.values.apply { addAll(setOf(Material.TORCH, Material.WALL_TORCH, Material.SPORE_BLOSSOM)) }.toSet()
private val attachedBlocks = mutableSetOf(Material.TORCH, Material.WALL_TORCH, Material.SPORE_BLOSSOM).also { it.addAll(Tag.REPLACEABLE.values) }.toSet()
private val attachedFaces = setOf(BlockFace.UP, BlockFace.DOWN, BlockFace.NORTH, BlockFace.EAST, BlockFace.SOUTH, BlockFace.WEST)

@EventHandler(ignoreCancelled = true, priority = EventPriority.MONITOR)
Expand Down

0 comments on commit 2ced02a

Please sign in to comment.