mirror of
https://github.com/mt-mods/unifieddyes.git
synced 2024-11-26 01:13:49 +01:00
forgot to add pink to craft helper
This commit is contained in:
parent
5557178cb4
commit
d2512952d9
5
init.lua
5
init.lua
@ -208,6 +208,9 @@ local function register_c(craft, hue, sat, val)
|
||||
else
|
||||
if hue == "white" or hue == "black" or string.find(hue, "grey") then
|
||||
output = craft.output_prefix.."grey"..craft.output_suffix
|
||||
elseif hue == "pink" then
|
||||
dye = "dye:light_red"
|
||||
output = craft.output_prefix.."red"..craft.output_suffix
|
||||
else
|
||||
output = craft.output_prefix..hue..craft.output_suffix
|
||||
end
|
||||
@ -261,6 +264,8 @@ function unifieddyes.register_color_craft(craft)
|
||||
register_c(craft, grey)
|
||||
end
|
||||
|
||||
register_c(craft, "pink")
|
||||
|
||||
end
|
||||
|
||||
-- code borrowed from homedecor
|
||||
|
Loading…
Reference in New Issue
Block a user