From 25387e1805914c27870fee7cee31c212ce149490 Mon Sep 17 00:00:00 2001 From: Wuzzy Date: Thu, 29 Aug 2019 18:57:21 +0200 Subject: [PATCH] Fix crash in hunger mod --- mods/hunger/init.lua | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/mods/hunger/init.lua b/mods/hunger/init.lua index 3e11eec..7ad3343 100644 --- a/mods/hunger/init.lua +++ b/mods/hunger/init.lua @@ -220,7 +220,7 @@ local function on_item_eat(hpdata, replace_with_item, itemstack, }) minetest.after(0.15, function(name) - if particlespawner[name] then + if particlespawners[name] then minetest.delete_particlespawner(particlespawners[name]) end end, name)