mirror of
https://git.minetest.land/VoxeLibre/VoxeLibre.git
synced 2024-12-24 00:49:34 +01:00
Fix warning with leafdecay_distance
This commit is contained in:
parent
9ce4cd1281
commit
89c4720de1
1 changed files with 4 additions and 4 deletions
|
@ -48,7 +48,7 @@ local register_tree_trunk = function(subname, description_trunk, description_bar
|
|||
})
|
||||
end
|
||||
|
||||
-- Register stripped trunk
|
||||
-- Register stripped trunk
|
||||
minetest.register_node("mcl_core:stripped_oak", {
|
||||
description = "Stripped Oak Log",
|
||||
_doc_items_longdesc = "Stripped Oak Log is a log that has been stripped of it's bark.",
|
||||
|
@ -230,7 +230,7 @@ local register_leaves = function(subname, description, longdesc, tiles, sapling,
|
|||
end
|
||||
local apple_chances = {200, 180, 160, 120, 40}
|
||||
local stick_chances = {50, 45, 30, 35, 10}
|
||||
|
||||
|
||||
local function get_drops(fortune_level)
|
||||
local drop = {
|
||||
max_items = 1,
|
||||
|
@ -273,7 +273,7 @@ local register_leaves = function(subname, description, longdesc, tiles, sapling,
|
|||
hoey=1,
|
||||
shearsy=1,
|
||||
swordy=1,
|
||||
leafdecay=leafdecay_distance,
|
||||
leafdecay=4,
|
||||
flammable=2,
|
||||
leaves=1,
|
||||
deco_block=1,
|
||||
|
@ -386,4 +386,4 @@ register_leaves("birchleaves", S("Birch Leaves"), S("Birch leaves are grown from
|
|||
-- Node aliases
|
||||
|
||||
minetest.register_alias("default:acacia_tree", "mcl_core:acaciatree")
|
||||
minetest.register_alias("default:acacia_leaves", "mcl_core:acacialeaves")
|
||||
minetest.register_alias("default:acacia_leaves", "mcl_core:acacialeaves")
|
||||
|
|
Loading…
Reference in a new issue