crafter bug fixes

This commit is contained in:
kepler155c
2018-02-23 00:10:33 -05:00
parent 71677604e0
commit a58ad48b69

View File

@@ -85,7 +85,7 @@ function ChestAdapter:listItems(throttle)
-- getAllStacks sometimes fails
pcall(function()
for _,v in pairs(self.getAllStacks(false)) do
if v.count > 0 then
if v.qty > 0 then
convertItem(v)
local key = table.concat({ v.name, v.damage, v.nbtHash }, ':')