diff --git a/inferium-harvester.lua b/inferium-harvester.lua index 6326fb4..93e7e31 100644 --- a/inferium-harvester.lua +++ b/inferium-harvester.lua @@ -118,7 +118,7 @@ local function getSeedNameFromCropName(cropName) end 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 end