From 7f4443b76f10ab7ce28d54932bceb4c61a8a6481 Mon Sep 17 00:00:00 2001 From: cora Date: Fri, 16 Sep 2022 02:03:36 +0200 Subject: [PATCH] Don't reset size for children --- 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 13206ec6e..91c8c6b61 100644 --- a/mods/ENTITIES/mcl_mobs/api.lua +++ b/mods/ENTITIES/mcl_mobs/api.lua @@ -3593,7 +3593,7 @@ local mob_activate = function(self, staticdata, def, dtime) if not self.nametag then self.nametag = def.nametag end - if not self.custom_visual_size then + if not self.custom_visual_size and not self.child then -- Remove saved visual_size on old existing entites. -- Old entities were 3 now it's 1. self.visual_size = nil