1.7.10 compatibility
This commit is contained in:
@@ -73,7 +73,12 @@ function ChestAdapter:init(args)
|
|||||||
end
|
end
|
||||||
else
|
else
|
||||||
self._getAllStacks = function()
|
self._getAllStacks = function()
|
||||||
return self.getAvailableItems()
|
local t = { }
|
||||||
|
for _,v in pairs(self.getAvailableItems('all')) do
|
||||||
|
v.item.is_craftable = v.is_craftable
|
||||||
|
table.insert(t, v.item)
|
||||||
|
end
|
||||||
|
return t
|
||||||
end
|
end
|
||||||
end
|
end
|
||||||
end
|
end
|
||||||
|
|||||||
Reference in New Issue
Block a user