SwordLevel like PickaxeLevel

Discussion in 'Requests' started by BlackPM, May 15, 2019.

  1. BlackPM

    BlackPM Spider

    Messages:
    12
    GitHub:
    BlackPMFury
    Code:

    public function getNextExp($player){
    if($player instanceof Player){
    $player = $player->getName();
    }

    $player = strtolower($player);
    $lv = $this->lv->get($player)["nextexp"];
    return $lv;
    }
    I see it have Error is Undefined index: exp
    Help me if You can help.
     

Share This Page

  1. This site uses cookies to help personalise content, tailor your experience and to keep you logged in if you register.
    By continuing to use this site, you are consenting to our use of cookies.