Fixed casting for JailedPlayer