handle AE again
This commit is contained in:
@@ -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
|
||||||
|
|||||||
Reference in New Issue
Block a user