mirror of
https://github.com/tacigar/maidroid.git
synced 2024-11-06 02:00:32 +01:00
[FIX] Use dye_core_map
This commit is contained in:
parent
258a486301
commit
3cb221c2de
|
@ -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()
|
||||
|
|
Loading…
Reference in New Issue
Block a user