Merge branch 'patch-2' into 'next'

Fix for the wrong drop quantity.

Sand and brick stairs' corners drop 24 items instead of 4, this fixes it.

See merge request !70
This commit is contained in:
Menche 2016-08-27 23:36:34 +00:00
commit 7f09ce7046
1 changed files with 2 additions and 2 deletions

View File

@ -638,7 +638,7 @@ void content_mapnode_stair(bool repeat)
f->setTexture(1,"brick_bottom.png");
f->draw_type = CDT_NODEBOX;
f->is_ground_content = true;
f->dug_item = std::string("CraftItem clay_brick 24");
f->dug_item = std::string("CraftItem clay_brick 4");
content_nodebox_stair_cornerud(f);
f->setInventoryTextureNodeBox(i,"brick.png",
"brick.png",
@ -655,7 +655,7 @@ void content_mapnode_stair(bool repeat)
f->draw_type = CDT_NODEBOX;
f->is_ground_content = true;
f->dug_item = std::string("MaterialItem2 ")+
itos(CONTENT_SAND)+ " 24";
itos(CONTENT_SAND)+ " 4";
content_nodebox_stair_cornerud(f);
f->setInventoryTextureNodeBox(i,"sandstone.png",
"sandstone.png",