show "on hand" indicators in "avail only" screen

This commit is contained in:
Vanessa Dannenberg 2018-09-08 10:13:31 -04:00
parent 3cbb25d92a
commit 42093582df

@ -856,7 +856,7 @@ function unifieddyes.make_colored_square(hexcolor, colorname, showall, creative,
local overlay = ""
local colorize = minetest.formspec_escape("^[colorize:#"..hexcolor..":255")
if (showall or not nodepalette) and not creative and inv:contains_item("main", dye) then
if not creative and inv:contains_item("main", dye) then
overlay = "^unifieddyes_available_overlay.png"
end