From f0591ad30fe716d8fdecf13f383aefb11424691a Mon Sep 17 00:00:00 2001 From: darkrose Date: Mon, 10 Aug 2015 06:08:25 +1000 Subject: [PATCH] bookshelves should not disappear when dug --- src/content_mapnode_furniture.cpp | 1 + 1 file changed, 1 insertion(+) diff --git a/src/content_mapnode_furniture.cpp b/src/content_mapnode_furniture.cpp index 1831f44..3bfef56 100644 --- a/src/content_mapnode_furniture.cpp +++ b/src/content_mapnode_furniture.cpp @@ -46,6 +46,7 @@ void content_mapnode_furniture(bool repeat) f->draw_type = CDT_NODEBOX_META; f->param_type = CPT_FACEDIR_SIMPLE; f->is_ground_content = true; + f->dug_item = std::string("MaterialItem2 ")+itos(CONTENT_BOOKSHELF)+" 1"; f->flammable = 1; // can be replaced by fire if the node under it is set on fire f->fuel_time = 30/4; f->type = CMT_WOOD;