From ba25e57eac01be710324d324c79772f2b3b847ca Mon Sep 17 00:00:00 2001 From: cora Date: Thu, 13 Oct 2022 06:06:14 +0200 Subject: [PATCH] don't run on_spawn twice --- mods/ENTITIES/mcl_mobs/spawning.lua | 5 ----- 1 file changed, 5 deletions(-) diff --git a/mods/ENTITIES/mcl_mobs/spawning.lua b/mods/ENTITIES/mcl_mobs/spawning.lua index 4c89397f1..7a6ff7396 100644 --- a/mods/ENTITIES/mcl_mobs/spawning.lua +++ b/mods/ENTITIES/mcl_mobs/spawning.lua @@ -647,11 +647,6 @@ if mobs_spawn then end object = mcl_mobs.spawn(spawning_position, mob_def.name) end - - - if object then - return mob_def.on_spawn and mob_def.on_spawn(object, spawning_position) - end end current_summary_chance = current_summary_chance - mob_chance table_remove(mob_library_worker_table, mob_index)