mirror of
https://github.com/sys4-fr/server-nalc.git
synced 2024-11-06 02:20:24 +01:00
fix unknow item and missing var
This commit is contained in:
parent
1370754dfb
commit
694def08e7
|
@ -142,7 +142,7 @@ minetest.register_node(modname .. ':cherry_tree', {
|
||||||
is_ground_content = false,
|
is_ground_content = false,
|
||||||
groups = {tree=1,choppy=2,oddly_breakable_by_hand=1,flammable=2},
|
groups = {tree=1,choppy=2,oddly_breakable_by_hand=1,flammable=2},
|
||||||
sounds = default.node_sound_wood_defaults(),
|
sounds = default.node_sound_wood_defaults(),
|
||||||
drop = modname .. 'cherry_log'
|
drop = modname .. ':cherry_log'
|
||||||
})
|
})
|
||||||
|
|
||||||
minetest.register_node(modname .. ':cherry_log', {
|
minetest.register_node(modname .. ':cherry_log', {
|
||||||
|
@ -202,7 +202,7 @@ minetest.register_node(modname .. ':cherry_leaves_deco', {
|
||||||
is_ground_content = false,
|
is_ground_content = false,
|
||||||
groups = {snappy=3, flammable=2, leaves=1},
|
groups = {snappy=3, flammable=2, leaves=1},
|
||||||
sounds = default.node_sound_leaves_defaults(),
|
sounds = default.node_sound_leaves_defaults(),
|
||||||
drop = {modname .. 'cherry_blossom_leaves'},
|
drop = {modname .. ':cherry_blossom_leaves'},
|
||||||
})
|
})
|
||||||
|
|
||||||
minetest.register_node(modname .. ':cherry_sapling', {
|
minetest.register_node(modname .. ':cherry_sapling', {
|
||||||
|
|
|
@ -1,6 +1,7 @@
|
||||||
local modname = minetest.get_current_modname()
|
local modname = minetest.get_current_modname()
|
||||||
local thismod = _G[modname]
|
local thismod = _G[modname]
|
||||||
|
|
||||||
|
local random = math.random
|
||||||
-- From BFD:
|
-- From BFD:
|
||||||
|
|
||||||
minetest.register_node(modname .. ':mg_cherry_sapling', {
|
minetest.register_node(modname .. ':mg_cherry_sapling', {
|
||||||
|
|
Loading…
Reference in New Issue
Block a user