1
This commit is contained in:
parent
88172383cb
commit
b04a53dcbb
@ -14,7 +14,7 @@ class LevelUp
|
|||||||
$exp = min($exp, $meta[count($meta)]['total_exp']);
|
$exp = min($exp, $meta[count($meta)]['total_exp']);
|
||||||
$lv = $meta[count($meta)]['id'];
|
$lv = $meta[count($meta)]['id'];
|
||||||
}else{
|
}else{
|
||||||
if ($meta[$i+1]){
|
if ($i<count($meta)){
|
||||||
if ($exp >= $meta[$i]['total_exp'] &&
|
if ($exp >= $meta[$i]['total_exp'] &&
|
||||||
$exp < $meta[$i+1]['total_exp'])
|
$exp < $meta[$i+1]['total_exp'])
|
||||||
{
|
{
|
||||||
|
Loading…
x
Reference in New Issue
Block a user