forked from VoxeLibre/VoxeLibre
Fix crash with mcl_flowers
This commit is contained in:
parent
134005180c
commit
19337489f6
|
@ -56,9 +56,9 @@ end)
|
||||||
function mcl_flowers.register_simple_flower(name, desc, image, simple_selection_box)
|
function mcl_flowers.register_simple_flower(name, desc, image, simple_selection_box)
|
||||||
local newname = "mcl_flowers:"..name
|
local newname = "mcl_flowers:"..name
|
||||||
mcl_flowers.registered_simple_flowers[newname] = {
|
mcl_flowers.registered_simple_flowers[newname] = {
|
||||||
desc=desc
|
desc=desc,
|
||||||
image=image
|
image=image,
|
||||||
simple_selection_box=simple_selection_box
|
simple_selection_box=simple_selection_box,
|
||||||
}
|
}
|
||||||
minetest.register_node(newname, {
|
minetest.register_node(newname, {
|
||||||
description = desc,
|
description = desc,
|
||||||
|
|
Loading…
Reference in New Issue