Fix variable name bug
This commit is contained in:
parent
72eea68b98
commit
82e3f5e67d
@ -299,7 +299,7 @@ local function QUICKLOAD(name, chest)
|
|||||||
}
|
}
|
||||||
|
|
||||||
for _,def in ipairs(DEFS) do
|
for _,def in ipairs(DEFS) do
|
||||||
if #name >= #name.prefix and name:sub(1,#name.prefix) == name.prefix then
|
if #name >= #def.prefix and name:sub(1,#def.prefix) == def.prefix then
|
||||||
local cacheState = {}
|
local cacheState = {}
|
||||||
for _=1,chest.size() do
|
for _=1,chest.size() do
|
||||||
table.insert(cacheState, clone(def.entry))
|
table.insert(cacheState, clone(def.entry))
|
||||||
|
Loading…
x
Reference in New Issue
Block a user