Fix crash with mcl_flowers

This commit is contained in:
epCode 2021-03-11 14:31:36 -08:00
parent 134005180c
commit 19337489f6

View file

@ -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,