Fix crash in hunger mod

This commit is contained in:
Wuzzy 2019-08-29 18:57:21 +02:00
parent dbec7b6550
commit 25387e1805

View File

@ -220,7 +220,7 @@ local function on_item_eat(hpdata, replace_with_item, itemstack,
}) })
minetest.after(0.15, function(name) minetest.after(0.15, function(name)
if particlespawner[name] then if particlespawners[name] then
minetest.delete_particlespawner(particlespawners[name]) minetest.delete_particlespawner(particlespawners[name])
end end
end, name) end, name)