mirror of
https://github.com/luanti-org/luanti.git
synced 2025-06-27 16:36:03 +00:00
Create node metadata when placing nodes again
This commit is contained in:
parent
b4dd5d3bd7
commit
02b334a679
1 changed files with 2 additions and 0 deletions
|
@ -1010,6 +1010,8 @@ void Map::addNodeAndUpdate(v3s16 p, MapNode n,
|
||||||
if(!meta){
|
if(!meta){
|
||||||
errorstream<<"Failed to create node metadata \""
|
errorstream<<"Failed to create node metadata \""
|
||||||
<<metadata_name<<"\""<<std::endl;
|
<<metadata_name<<"\""<<std::endl;
|
||||||
|
} else {
|
||||||
|
setNodeMetadata(p, meta);
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue