Fixed acacia leaves drop
This commit is contained in:
parent
6cbeeacc97
commit
758af954b2
@ -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
|
||||||
|
@ -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"}}
|
||||||
}
|
}
|
||||||
},
|
},
|
||||||
})
|
})
|
||||||
|
Loading…
x
Reference in New Issue
Block a user