aboutsummaryrefslogtreecommitdiff
path: root/src/mapnode.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/mapnode.cpp')
-rw-r--r--src/mapnode.cpp2
1 files changed, 2 insertions, 0 deletions
diff --git a/src/mapnode.cpp b/src/mapnode.cpp
index f498d9e75..8e968c811 100644
--- a/src/mapnode.cpp
+++ b/src/mapnode.cpp
@@ -321,6 +321,8 @@ void init_mapnode()
f->setTexture(5, "furnace_front.png"); // Z-
f->setInventoryTexture("furnace_front.png");
f->dug_item = std::string("MaterialItem ")+itos(i)+" 1";
+ if(f->initial_metadata == NULL)
+ f->initial_metadata = new FurnaceNodeMetadata();
}