PHP: if($sender->addXpLevel(-13)){ $sender->sendMessage("§bSuccessful"); return; } else{ $sender->sendMessage("§cUnsuccessful"); return; } This code still gives output as Successful even though it's not removing 13 levels from the player's exp because the player only has 1 level...
What is the point in making this thread? PocketMine doesn't have experience implemented yet, and this is not a Genisys forums...