fix unwraps
This commit is contained in:
parent
3c847b4f87
commit
58c3b4e25a
@ -75,10 +75,10 @@ local commands = {
|
|||||||
local slot = tonumber(slot)
|
local slot = tonumber(slot)
|
||||||
if not slot then
|
if not slot then
|
||||||
for i = 1, 16 do
|
for i = 1, 16 do
|
||||||
unwrap(dump(i), "dumping inventory")
|
w.unwrap(dump(i), "dumping inventory")
|
||||||
end
|
end
|
||||||
else
|
else
|
||||||
unwrap(dump(slot), "dumping slot " .. tostring(slot))
|
w.unwrap(dump(slot), "dumping slot " .. tostring(slot))
|
||||||
end
|
end
|
||||||
end,
|
end,
|
||||||
craft = function()
|
craft = function()
|
||||||
@ -86,7 +86,7 @@ local commands = {
|
|||||||
if not result then return "Invalid or no recipe." end
|
if not result then return "Invalid or no recipe." end
|
||||||
end,
|
end,
|
||||||
reindex = function()
|
reindex = function()
|
||||||
unwrap(w.query_by_type("storage", { type = "reindex" }), "requesting reindexing")
|
w.unwrap(w.query_by_type("storage", { type = "reindex" }), "requesting reindexing")
|
||||||
end
|
end
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user