Fixed acacia leaves drop

master
TenPlus1 2015-08-10 16:36:28 +01:00
parent 6cbeeacc97
commit 758af954b2
2 changed files with 2 additions and 2 deletions

View File

@ -285,7 +285,7 @@ minetest.register_tool("ethereal:light_staff", {
if node == "default:stone" then if node == "default:stone" then
minetest.add_node(pos, {name="ethereal:glostone"}) minetest.add_node(pos, {name="ethereal:glostone"})
if not minetest.setting_getbool("creative_mode") then if not minetest.setting_getbool("creative_mode") then
itemstack:add_wear(65535 / 99) -- 100 uses itemstack:add_wear(65535 / 149) -- 150 uses
end end
return itemstack return itemstack
end end

View File

@ -40,7 +40,7 @@ minetest.override_item("default:acacia_leaves", {
max_items = 1, max_items = 1,
items = { items = {
{items = {"ethereal:acacia_sapling"}, rarity = 20}, {items = {"ethereal:acacia_sapling"}, rarity = 20},
{items = {"ethereal:acacia_leaves"}} {items = {"default:acacia_leaves"}}
} }
}, },
}) })