Get right token

This commit is contained in:
osmarks 2018-04-30 21:23:17 +01:00
parent d14eb856fb
commit bd9b08b194

View File

@ -72,7 +72,7 @@ while true do
elseif cmd == "r" then
query { cmd = "reindex" }
elseif cmd == "ac" then
query { cmd = "craft", item = tokens[2] }
query { cmd = "craft", item = tokens[1] }
elseif cmd == "help" then
textutils.pagedPrint(help)
end