From 356bca4fd7f7ef9219d7f5a4688599ef3f84cb5e Mon Sep 17 00:00:00 2001 From: Wuzzy Date: Thu, 12 Jan 2017 00:38:04 +0100 Subject: [PATCH] Make apples non-craftitems --- mods/default/craftitems.lua | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/mods/default/craftitems.lua b/mods/default/craftitems.lua index 82c551e00a..765df3d3b5 100644 --- a/mods/default/craftitems.lua +++ b/mods/default/craftitems.lua @@ -154,7 +154,7 @@ minetest.register_craftitem("default:quartz_crystal", { stack_max = 64, }) -minetest.register_node("default:apple", { +minetest.register_craftitem("default:apple", { description = "Apple", wield_image = "default_apple.png", inventory_image = "default_apple.png", @@ -162,7 +162,7 @@ minetest.register_node("default:apple", { on_use = minetest.item_eat(4), }) -minetest.register_node("default:apple_gold", { +minetest.register_craftitem("default:apple_gold", { description = "Golden Apple", wield_image = "default_apple_gold.png", inventory_image = "default_apple_gold.png",