mirror of
https://github.com/mt-mods/unifieddyes.git
synced 2024-11-22 15:33:52 +01:00
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
|
||||
|
2
mod.conf
2
mod.conf
@ -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
|
||||
|
Loading…
Reference in New Issue
Block a user