Merge pull request #22 from tacigar/tacigar/fix-core_writer

[FIX] Use dye_core_map
This commit is contained in:
Tacigar 2016-09-15 10:36:53 +09:00 committed by GitHub
commit f3c93f64ba

View File

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