forked from Mineclonia/Mineclonia
items/mcl_banners: remove unnecessary nil check
This commit is contained in:
parent
98e634a0e4
commit
5f4e3bb85a
|
@ -179,7 +179,7 @@ end
|
|||
function mcl_banners.get_overlay(istk)
|
||||
local imeta = istk:get_meta()
|
||||
local layers_raw = imeta:get_string("layers")
|
||||
if not layers_raw or layers_raw == "" then
|
||||
if layers_raw == "" then
|
||||
return
|
||||
end
|
||||
local basec = imeta:get("fake_base") or istk:get_definition()._base_color
|
||||
|
|
Loading…
Reference in New Issue