This commit is contained in:
MihailRis 2026-11-21 20:27:42 +03:00
parent a6bffd9339
commit 28cfd0da67
2 changed files with 2 additions and 2 deletions

View file

@ -288,7 +288,7 @@ void ContentLoader::loadContent(const dv::value& root) {
ContentUnitLoader<Block>(*pack, builder.blocks, "blocks",
[this](const Block& def) {
if (!def.abstract || !def.hidden) {
if (!def.abstract && !def.hidden) {
bool created;
auto& item = builder.items.create(
def.name + BLOCK_ITEM_SUFFIX, &created