forked from nalc/homedecor_modpack
fix bad not-in-creative-inventory flags on wall lamp and plasma ball
This commit is contained in:
parent
67acbd6d59
commit
c457874d03
@ -900,6 +900,7 @@ end
|
|||||||
for _, light_brightn_name in ipairs({"off", "on"}) do
|
for _, light_brightn_name in ipairs({"off", "on"}) do
|
||||||
|
|
||||||
local onflag = (light_brightn_name == "on")
|
local onflag = (light_brightn_name == "on")
|
||||||
|
local nici = (light_brightn_name == "off") and 1 or nil
|
||||||
|
|
||||||
local gen_ls_tex_yellow = "homedecor_generic_light_source_off.png"
|
local gen_ls_tex_yellow = "homedecor_generic_light_source_off.png"
|
||||||
if onflag then gen_ls_tex_yellow = "homedecor_generic_light_source_yellow.png" end
|
if onflag then gen_ls_tex_yellow = "homedecor_generic_light_source_yellow.png" end
|
||||||
|
Loading…
Reference in New Issue
Block a user