From 3cb221c2de58bda25874e0a1560f8e71532442ed Mon Sep 17 00:00:00 2001 From: tacigar Date: Thu, 15 Sep 2016 10:36:22 +0900 Subject: [PATCH] [FIX] Use dye_core_map --- maidroid_tool/core_writer.lua | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/maidroid_tool/core_writer.lua b/maidroid_tool/core_writer.lua index 7850c25..66bcd9d 100644 --- a/maidroid_tool/core_writer.lua +++ b/maidroid_tool/core_writer.lua @@ -110,7 +110,7 @@ local dye_core_map = { if (listname == "fuel" and itemname == "default:coal_lump") then return stack:get_count() - elseif listname == "dye" and minetest.get_item_group(itemname, "dye") > 0 then + elseif listname == "dye" and dye_core_map[itemname] ~= nil then return stack:get_count() elseif listname == "core" and maidroid.is_core(itemname) then return stack:get_count()