mirror of
https://github.com/MihailRis/voxelcore.git
synced 2026-10-05 11:01:49 +00:00
fix caves issues & add block 'surface-replacement' property
This commit is contained in:
parent
c022e11c3b
commit
b4578cfb87
7 changed files with 115 additions and 18 deletions
|
|
@ -82,6 +82,7 @@ std::unique_ptr<Content> ContentBuilder::build() {
|
|||
// Now, it's time to resolve foreign keys
|
||||
for (Block* def : blockDefsIndices) {
|
||||
def->rt.pickingItem = content->items.require(def->pickingItem).rt.id;
|
||||
def->rt.surfaceReplacement = content->blocks.require(def->surfaceReplacement).rt.id;
|
||||
}
|
||||
|
||||
for (ItemDef* def : itemDefsIndices) {
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue