mirror of
https://git.minetest.land/VoxeLibre/VoxeLibre.git
synced 2024-11-26 04:21:07 +01:00
Fix leaves not dropping
Due to some renaming, leaves no longer dropped from any of the `mcl_core` trees. This has now been fixed.
This commit is contained in:
parent
b789845f62
commit
1fb300ef18
1 changed files with 17 additions and 17 deletions
|
@ -226,8 +226,8 @@ local function register_leaves(subname, description, longdesc, tiles, color, par
|
|||
local l_def = table.copy(pl_def)
|
||||
l_def.groups.player_leaves = nil
|
||||
l_def.groups.not_in_creative_inventory = 1
|
||||
l_def._mcl_shears_drop = {"mcl_core:player" .. subname}
|
||||
l_def._mcl_silk_touch_drop = {"mcl_core:player" .. subname}
|
||||
l_def._mcl_shears_drop = {"mcl_core:" .. subname .. "_player"}
|
||||
l_def._mcl_silk_touch_drop = {"mcl_core:" .. subname .. "_player"}
|
||||
|
||||
minetest.register_node("mcl_core:" .. subname, l_def)
|
||||
|
||||
|
@ -235,8 +235,8 @@ local function register_leaves(subname, description, longdesc, tiles, color, par
|
|||
o_def._doc_items_create_entry = false
|
||||
o_def.groups.not_in_creative_inventory = 1
|
||||
o_def.groups.orphan_leaves = 1
|
||||
o_def._mcl_shears_drop = {"mcl_core:player" .. subname}
|
||||
o_def._mcl_silk_touch_drop = {"mcl_core:player" .. subname}
|
||||
o_def._mcl_shears_drop = {"mcl_core:" .. subname .. "_player"}
|
||||
o_def._mcl_silk_touch_drop = {"mcl_core:" .. subname .. "_player"}
|
||||
|
||||
minetest.register_node("mcl_core:" .. subname .. "_orphan", o_def)
|
||||
end
|
||||
|
|
Loading…
Reference in a new issue