mirror of
https://git.minetest.land/VoxeLibre/VoxeLibre.git
synced 2024-11-22 10:31:06 +01:00
Fix typo/crash
This commit is contained in:
parent
aeff7cf1a4
commit
63a156c30c
1 changed files with 1 additions and 1 deletions
|
@ -196,7 +196,7 @@ local function spawn_banner_entity(pos, hanging, itemstack)
|
|||
local imeta = itemstack:get_meta()
|
||||
local layers_raw = imeta:get_string("layers")
|
||||
local layers = minetest.deserialize(layers_raw)
|
||||
local colorid = mcl_banners.color_reverse[itemstack:get_name()]
|
||||
local colorid = mcl_banners.color_reverse(itemstack:get_name())
|
||||
banner:get_luaentity():_set_textures(colorid, layers)
|
||||
local mname = imeta:get_string("name")
|
||||
if mname and mname ~= "" then
|
||||
|
|
Loading…
Reference in a new issue