forked from mtcontrib/unifieddyes
show "on hand" indicators in "avail only" screen
This commit is contained in:
parent
3cbb25d92a
commit
42093582df
2
init.lua
2
init.lua
@ -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
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user