Another bugfix, now the player doesn't randomly throw errors