From 0ee6a25384fb78a9a82ea9b21d7654288474b789 Mon Sep 17 00:00:00 2001 From: TenPlus1 Date: Sun, 10 Jan 2016 19:16:46 +0000 Subject: [PATCH] Tiny tweak --- README.md | 2 +- init.lua | 4 ++-- 2 files changed, 3 insertions(+), 3 deletions(-) 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 +})