patch broken colors in airbrush and bump min to 5.3.0
This commit is contained in:
parent
934ac7180b
commit
608c80662a
|
@ -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
|
||||
|
|
Loading…
Reference in New Issue