Create node metadata when placing nodes again
parent
b4dd5d3bd7
commit
02b334a679
|
@ -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…
Reference in New Issue