This commit is contained in:
kepler155c
2017-10-19 03:23:05 -04:00
parent 6a1f72f957
commit 11a005969c

View File

@@ -127,9 +127,11 @@ function ChestAdapter:craftItems()
end
local function rpairs(t)
local i = #t
local tkeys = Util.keys(t)
local i = #tkeys
return function()
local k,v = i, t[i]
local key = tkeys[i]
local k,v = key, t[key]
i = i - 1
if v then
return k, v