Idle Animation not playing when landing

Hey everybody, i am doing my battling game, i made a animation system, everything works fine for now, except because when i jump and land, the idle animation just stops working completely

here is a video showing it :

External Media

I even tried changing the state to simulate the landed state , but that also didn’t work

The “playAnimation” function just plays an animation and stops it when it plays another