1
0
mirror of https://github.com/sys4-fr/server-nalc.git synced 2024-11-05 18:10:26 +01:00

fix unknow item and missing var

This commit is contained in:
crabman77 2016-08-21 22:14:04 +02:00
parent 1370754dfb
commit 694def08e7
2 changed files with 3 additions and 2 deletions

View File

@ -142,7 +142,7 @@ minetest.register_node(modname .. ':cherry_tree', {
is_ground_content = false,
groups = {tree=1,choppy=2,oddly_breakable_by_hand=1,flammable=2},
sounds = default.node_sound_wood_defaults(),
drop = modname .. 'cherry_log'
drop = modname .. ':cherry_log'
})
minetest.register_node(modname .. ':cherry_log', {
@ -202,7 +202,7 @@ minetest.register_node(modname .. ':cherry_leaves_deco', {
is_ground_content = false,
groups = {snappy=3, flammable=2, leaves=1},
sounds = default.node_sound_leaves_defaults(),
drop = {modname .. 'cherry_blossom_leaves'},
drop = {modname .. ':cherry_blossom_leaves'},
})
minetest.register_node(modname .. ':cherry_sapling', {

View File

@ -1,6 +1,7 @@
local modname = minetest.get_current_modname()
local thismod = _G[modname]
local random = math.random
-- From BFD:
minetest.register_node(modname .. ':mg_cherry_sapling', {