Create node metadata when placing nodes again

master
Kahrl 2012-01-22 00:53:21 +01:00 committed by Perttu Ahola
parent b4dd5d3bd7
commit 02b334a679
1 changed files with 2 additions and 0 deletions

View File

@ -1010,6 +1010,8 @@ void Map::addNodeAndUpdate(v3s16 p, MapNode n,
if(!meta){
errorstream<<"Failed to create node metadata \""
<<metadata_name<<"\""<<std::endl;
} else {
setNodeMetadata(p, meta);
}
}