handle AE again

This commit is contained in:
kepler155c
2018-02-02 16:53:50 -05:00
parent 8d8c18c3db
commit 3298c41f3a

View File

@@ -46,8 +46,8 @@ function ChestAdapter:getItemDetails(index, item)
return detail return detail
else else
local detail = self.findItems(item) local detail = self.findItems(item)
if detail then if detail and #detail > 0 then
return detail.getMetadata() return detail[1].getMetadata()
end end
end end
end end