Fix crash

This commit is contained in:
Evert Prants 2019-11-21 17:28:31 +02:00
parent 5df7141d71
commit 60796421a1
Signed by: evert
GPG Key ID: 1688DA83D222D0B5

View File

@ -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