not really, this forces the client to switch state, resend enter world, in reality just an automated restart. Its not the real solution.
The real solution will be to emulate the correct UserInfo/CharInfo packets in the correct sequence without calling any server-sided function like decayMe spawnMe etc, its completely unnecessary since this bug is completely client sided.
I have figured a way to emulate the correct packet sequence to change one's race without stacking the animation without restarting the client or sending a transformation packet, I haven't tested but it should also be possible in Interlude.
H5 client never stucks the animation when you do a complete race change, it will only stuck if you switch from Human Mage to Human Fighter, or from FOrc to MOrc etc, by emulating a fake change to a different race for 1 millisecond, you essentially force the client not to stack the animation