diff --git a/README.md b/README.md index 4d9b785..9287c96 100644 --- a/README.md +++ b/README.md @@ -1,6 +1,6 @@ Pie mod [pie] -Piemod for minetest adds six cakes to the game which can be crafted using items +Pie mod for minetest adds six cakes to the game which can be crafted using items from farming redo, mobs redo and Ethereal foods and then placed as a block or punched to eat a slice (or three). diff --git a/init.lua b/init.lua index f15c0d8..aa2060c 100644 --- a/init.lua +++ b/init.lua @@ -37,7 +37,7 @@ local replace_pie = function(node, puncher, pos) puncher:set_hp(h) end - minetest.set_node(pos, {name = node.name}) + minetest.swap_node(pos, {name = node.name}) end @@ -198,4 +198,4 @@ minetest.register_craft({ {"farming:wheat", "farming:wheat", "farming:wheat"}, {"", "", ""} }, -}) \ No newline at end of file +})