Yet more typos
This commit is contained in:
parent
cea1d54240
commit
bde307b288
@ -114,7 +114,7 @@ local function clear_buffer()
|
|||||||
for i = 1, peripheral.call(conf.buffer_internal, "size") do
|
for i = 1, peripheral.call(conf.buffer_internal, "size") do
|
||||||
local space_location = find_space()
|
local space_location = find_space()
|
||||||
if not space_location then error("Storage capacity reached. Please add more chests or shulker boxes.") end
|
if not space_location then error("Storage capacity reached. Please add more chests or shulker boxes.") end
|
||||||
peripheral.call(conf.buffer, "pushItems", space_location, i)
|
peripheral.call(conf.buffer_internal, "pushItems", space_location, i)
|
||||||
os.queueEvent("reindex", space_location)
|
os.queueEvent("reindex", space_location)
|
||||||
sleep()
|
sleep()
|
||||||
end
|
end
|
||||||
@ -126,7 +126,7 @@ local function server(command)
|
|||||||
elseif command.type == "reindex" then
|
elseif command.type == "reindex" then
|
||||||
os.queueEvent "reindex"
|
os.queueEvent "reindex"
|
||||||
elseif command.type == "extract" then
|
elseif command.type == "extract" then
|
||||||
local result = find_by_ID_meta(command.ID, command.meta, command.NBT)
|
local result = find_by_ID_meta_NBT(command.ID, command.meta, command.NBT)
|
||||||
local first_available = result[1]
|
local first_available = result[1]
|
||||||
|
|
||||||
-- Check if we have an item, and its stack is big enough; otherwise, send back an error.
|
-- Check if we have an item, and its stack is big enough; otherwise, send back an error.
|
||||||
|
Loading…
x
Reference in New Issue
Block a user