From 3e312af3b9fe7607858a537710d8ffe0275e3841 Mon Sep 17 00:00:00 2001 From: cora Date: Fri, 14 Oct 2022 00:07:26 +0200 Subject: [PATCH] fix warning / wrong var --- mods/ENTITIES/mcl_mobs/api.lua | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/mods/ENTITIES/mcl_mobs/api.lua b/mods/ENTITIES/mcl_mobs/api.lua index ac8d57bcd5..a4b74a2371 100644 --- a/mods/ENTITIES/mcl_mobs/api.lua +++ b/mods/ENTITIES/mcl_mobs/api.lua @@ -135,7 +135,7 @@ end local function add_particlespawners(pn,self) if not active_particlespawners[pn] then active_particlespawners[pn] = {} end - if not active_particlespawners[pn][object] then active_particlespawners[pn][self.object] = {} end + if not active_particlespawners[pn][self.object] then active_particlespawners[pn][self.object] = {} end for _,ps in pairs(self.particlespawners) do ps.attached = self.object ps.playername = pn