diff --git a/storage/itemstack.lua b/storage/itemstack.lua index 4d65704..b3f356a 100644 --- a/storage/itemstack.lua +++ b/storage/itemstack.lua @@ -8,10 +8,12 @@ local ItemStack = Sentinel:tag({}, Sentinel.ITEMSTACK) ItemStack.__index = ItemStack local function hookDebugger(context) - local errorCond = Debugger.debugREPL(function(retval) - Logger:error("->", retval) - end, context) - Logger:error("x>", errorCond) + while true do + local errorCond = Debugger.debugREPL(function(retval) + Logger:error("->", retval) + end, context) + Logger:error("x>", errorCond) + end end function ItemStack:fromDetail(inv, detail, slot)