Changing plugins once more. Passing $player object by reference