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

@ -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

@ -1,4 +1,4 @@
name = unifieddyes
description = Unified Dyes expands the standard dye set from 15 to 90 colors.
optional_depends = default, dye, basic_materials
min_minetest_version = 5.2.0
min_minetest_version = 5.3.0