parent
45c9a7902e
commit
3253423dc6
@ -117,10 +117,10 @@ function random_chests.refill(i)
|
||||
if chests[i] then
|
||||
local n = env:get_node(chests[i]).name
|
||||
if (not n:match("default:chest")) and n ~= "ignore" then
|
||||
table.remove(chests,i)
|
||||
print("chest missing! found:")
|
||||
print(env:get_node(chests[i]).name)
|
||||
print("instead")
|
||||
table.remove(chests,i)
|
||||
else
|
||||
fill_chest(chests[i])
|
||||
end
|
||||
|
Loading…
x
Reference in New Issue
Block a user