items/mcl_banners: remove unnecessary nil check

This commit is contained in:
E 2021-05-06 06:17:53 -04:00
parent 98e634a0e4
commit 5f4e3bb85a
1 changed files with 1 additions and 1 deletions

View File

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