From a58ad48b697587ebd1929fdeb803c70c4b5fbf4f Mon Sep 17 00:00:00 2001 From: kepler155c Date: Fri, 23 Feb 2018 00:10:33 -0500 Subject: [PATCH] crafter bug fixes --- apis/chestAdapter.lua | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/apis/chestAdapter.lua b/apis/chestAdapter.lua index 3b4cfde..6a166ce 100644 --- a/apis/chestAdapter.lua +++ b/apis/chestAdapter.lua @@ -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 }, ':')