change _debug to _syslog
This commit is contained in:
@@ -110,7 +110,7 @@ function ChestAdapter:listItems(throttle)
|
||||
return items
|
||||
end
|
||||
else
|
||||
_debug(m)
|
||||
_G._syslog(m)
|
||||
end
|
||||
end
|
||||
|
||||
|
||||
@@ -42,7 +42,6 @@ function ChestAdapter:getItemDetails(index, item)
|
||||
if self.getItemMeta then
|
||||
local s, detail = pcall(self.getItemMeta, index)
|
||||
if not s or not detail or detail.name ~= item.name then
|
||||
-- debug({ s, detail })
|
||||
return
|
||||
end
|
||||
return detail
|
||||
|
||||
@@ -102,7 +102,7 @@ function MEAdapter:refresh()
|
||||
itemDB:flush()
|
||||
|
||||
if not s and m then
|
||||
_debug(m)
|
||||
_G._syslog(m)
|
||||
end
|
||||
|
||||
if s and not failed and hasItems and self.items and not Util.empty(self.items) then
|
||||
|
||||
@@ -70,7 +70,7 @@ function RefinedAdapter:listItems(throttle)
|
||||
end)
|
||||
|
||||
if not s and m then
|
||||
_debug(m)
|
||||
_G._syslog(m)
|
||||
end
|
||||
|
||||
itemDB:flush()
|
||||
|
||||
Reference in New Issue
Block a user