mirror of
https://git.minetest.land/MineClone2/MineClone2.git
synced 2024-12-25 19:02:26 +01:00
Don't reset size for children
This commit is contained in:
parent
ed8dc1d137
commit
7f4443b76f
@ -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
|
||||
|
Loading…
Reference in New Issue
Block a user