From b2b64f2f171dcf2969b6605d0a55def55da2a690 Mon Sep 17 00:00:00 2001 From: Richard Qian Date: Fri, 2 Dec 2016 22:52:33 -0600 Subject: [PATCH] Return the books when crafting enpty bookshelves --- crafting.lua | 2 ++ 1 file changed, 2 insertions(+) diff --git a/crafting.lua b/crafting.lua index 501c9f4..3cdce2a 100644 --- a/crafting.lua +++ b/crafting.lua @@ -207,6 +207,8 @@ minetest.register_craft({ output = "moreblocks:empty_bookshelf", type = "shapeless", recipe = {"moreblocks:sweeper", "default:bookshelf"}, + replacements = {{"default:bookshelf", "default:book 3"}}, + -- When obtaining an empty bookshelf, return the books used in it as well }) minetest.register_craft({