pocketmine\Player::addExpLevel PHP Method

addExpLevel() public method

Deprecation: Use Human::addXpLevel(), this method will be removed in the future.
public addExpLevel ( integer $level )
$level integer
    public function addExpLevel(int $level)
    {
        trigger_error("This method is deprecated, do not use it", E_USER_DEPRECATED);
        return $this->addXpLevel($level);
    }
Player