patch broken colors in airbrush and bump min to 5.3.0

This commit is contained in:
unknown
2022-02-23 22:37:58 -05:00
parent 934ac7180b
commit 608c80662a
2 changed files with 2 additions and 2 deletions

View File

@ -463,7 +463,7 @@ minetest.register_on_player_receive_fields(function(player, formname, fields)
local dye = "dye:"..s3
if (showall or unifieddyes.palette_has_color[nodepalette.."_"..s3]) and
(minetest.registered_items[dye] and (creative or inv:contains_item("main", dye))) then
(creative or inv:contains_item("main", dye)) then
unifieddyes.player_selected_dye[player_name] = dye
unifieddyes.show_airbrush_form(player)
end