Fix wrongly ordered luadash argument
This commit is contained in:
parent
ce9f65ac7a
commit
7fd6f66a48
@ -13,9 +13,9 @@ local BUFFER_OUT_SLOT = 1
|
|||||||
local BUFFER_IN_SLOT = 2
|
local BUFFER_IN_SLOT = 2
|
||||||
|
|
||||||
-- Find all chests or shulker boxes
|
-- Find all chests or shulker boxes
|
||||||
local inventories = d.map_with_key(function(_, p) return p.name, p.wrapped end, w.find_peripherals(function(type, name, wrapped)
|
local inventories = d.map_with_key(w.find_peripherals(function(type, name, wrapped)
|
||||||
return string.find(name, "chest") or string.find(name, "shulker")
|
return string.find(name, "chest") or string.find(name, "shulker")
|
||||||
end))
|
end), function(_, p) return p.name, p.wrapped end)
|
||||||
|
|
||||||
local display_name_cache = {}
|
local display_name_cache = {}
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user