fix(inferium-harvester): isSeed
This commit is contained in:
parent
c42b8472dc
commit
6c38ea6845
@ -118,7 +118,7 @@ local function getSeedNameFromCropName(cropName)
|
|||||||
end
|
end
|
||||||
|
|
||||||
function isSeed(item)
|
function isSeed(item)
|
||||||
local tags = item.tags or {}
|
local tags = item and item.tags or {}
|
||||||
return tags['forge:seeds'] or tags['mysticalagriculture:seeds'] or false
|
return tags['forge:seeds'] or tags['mysticalagriculture:seeds'] or false
|
||||||
end
|
end
|
||||||
|
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user