Fix crash
This commit is contained in:
parent
5df7141d71
commit
60796421a1
@ -324,6 +324,8 @@ minetest.register_abm({
|
|||||||
count = count + 1
|
count = count + 1
|
||||||
end
|
end
|
||||||
|
|
||||||
|
if count == 0 then return end
|
||||||
|
|
||||||
local mcnt = randbuff:next(1, count)
|
local mcnt = randbuff:next(1, count)
|
||||||
local cnt = 0
|
local cnt = 0
|
||||||
for name, data in pairs(contents) do
|
for name, data in pairs(contents) do
|
||||||
|
Loading…
Reference in New Issue
Block a user