The PlaceBlock config action doesn't account for the possibility of there being no other blocks in the region

Created on 20 November 2024, about 17 hours ago

Problem/Motivation

The PlaceBlock config action (placeBlockInDefaultTheme, placeBlockInAdminTheme) tries to ensure that the placed block has the correct weight. The problem is that, if there are no other blocks in the region, it tries to call methods on FALSE, which is a fatal error.

We should ensure that it can safely place blocks into an empty region.

πŸ› Bug report
Status

Active

Version

11.0 πŸ”₯

Component

recipe system

Created by

πŸ‡ΊπŸ‡ΈUnited States phenaproxima Massachusetts

Live updates comments and jobs are added and updated live.
Sign in to follow issues

Comments & Activities

Production build 0.71.5 2024