Fix child mob keeping child texture if growing up
This commit is contained in:
parent
9f2d8611b3
commit
d784744c89
@ -103,7 +103,7 @@ rp_mobs.register_mob = function(mobname, def)
|
|||||||
mdef.entity_definition._dying = false
|
mdef.entity_definition._dying = false
|
||||||
if def.textures_child then
|
if def.textures_child then
|
||||||
mdef.entity_definition._textures_child = def.textures_child
|
mdef.entity_definition._textures_child = def.textures_child
|
||||||
mdef.entity_definition._textures_adult = def.textures
|
mdef.entity_definition._textures_adult = initprop.textures
|
||||||
end
|
end
|
||||||
|
|
||||||
rp_mobs.registered_mobs[mobname] = mdef
|
rp_mobs.registered_mobs[mobname] = mdef
|
||||||
|
Loading…
x
Reference in New Issue
Block a user