Closed xlXlSlayerlXlx closed 1 year ago
Please give more information.
Error: [theRankShop] -> Can't find selected rank in RankManagementPlugin! File: plugins/theRankShop (1).phar/src/supercrafter333/theRankShop/Forms/theRankShopDefaultForms Line: 91 Type: pocketmine\utils\AssumptionFailedError Backtrace:
Code: [82] } [83] [84] /* [85] @param string $rankName [86] @return SimpleForm [87] / [88] public function openRankBuyForm(string $rankName) [89] { [90] $rank = RankManagementPluginMgr::getRankPlugin()->getRank($rankName); [91] if ($rank == null) throw new AssumptionFailedError("[theRankShop] -> Can't find selected rank in RankManagementPlugin!"); [92] $rankInfo = new RankInfo($rankName); [93] $player = $this->player; [94] $form = new SimpleForm(function (Player $player, $data = null) use ($rankName, $rankInfo, $rank) { [95] $result = $data; [96] if ($result === null || $result === "") { [97] $this->closed(); [98] return; [99] } [100] if ($result == "cancel") { [101] $player->sendMessage(str_replace(["{rank}"], [$rankName], LanguageMgr::getMsg(Messages::FORMS_BUYRANK_CANCELBUY_MSG)));
It is installed Ranksytem, GroupSytem, EconomyAPI and BedrockEconomy And always gives this error, I did the same ta explained on wiki
That's still your fault - NOT MINE! You're trying to open the buy-form (buy-ui) of a non-existing rank. You have to edit ranks.yml
or add the rank to your rank-management-plugin!
The error you got is called by theRankShop to prevent bugs.
If you can't fix it, please contact me on Discord: supercrafter333
Cuando compras elWhen buying a rank the server shuts down