Game breaking bug

if you press the action key to eat a boar and there is a tree nearby you will get stuck

i pressed the to eat the boar and for some reason he jumped to a tree and i got stuck and got kicked for being idle due to being unable to move