Make apples non-craftitems

This commit is contained in:
Wuzzy 2017-01-12 00:38:04 +01:00
parent 65f3798076
commit 356bca4fd7
1 changed files with 2 additions and 2 deletions

View File

@ -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",