menu
#6720087 Class "HiroTeam\JobUI\JobUIMain" not found

Submitted by PocketMine-MP 4.3.2

General information

Version: 4.3.2
Git commit: 755ca1af
Plugin involvement: Direct
Report date: 2022-05-14 09:55:17 +0000 UTC
Server uptime: 0 days 0 hours 1 minutes 17 seconds

System Information

PHP version: 8.0.18
Operating system: win
System banner: Windows NT PC 10.0 build 22616 (Windows 10) AMD64

Error information

Warning: the EnchantmentTable plugin was directly involved in this crash. Please contact the plugin author.
Message: Class "HiroTeam\JobUI\JobUIMain" not found
File: plugins/Edited_ET.phar/src/Digueloulou12/Forms/EnchantmentForms
Line: #63
Error level: Error
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
                    if ($item->hasEnchantment($enchantment)) {
if (($item->getEnchantment($enchantment)->getLevel() + $data[1]) > $enchant[1]) {
$player->sendMessage(Table::getInstance()->getConfig()->get("no_enchant"));
return;
} else $level = $item->getEnchantment($enchantment)->getLevel();
}

$item->addEnchantment(new EnchantmentInstance($enchantment, $level + $data[1]));

$playerJobSession = JobUIMain::getInstance()->getPlayerJobManager()->getPlayerSession($player);
$playerJobSession->onEnchant($item, $enchant[0], $level + $data[1]);

$player->getInventory()->setItemInHand($item);

Table::getInstance()->removeMoney($player, $enchant[2] * $data[1]);
$player->getInventory()->removeItem(ItemFactory::getInstance()->get(ItemIds::DYE, 4, $enchant[3] * $data[1]));
$player->getXpManager()->subtractXpLevels($enchant[4] * $data[1]);

foreach (Quests::getInstance()->players[$player->getName()]["quests"] as $questID => $questData) {
if (Quests::getInstance()->players[$player->getName()]["quests"][$questID]["phase"] == "progress") {
#0 plugins/Edited_ET.phar/src/jojoe77777/FormAPI/Form(46): Digueloulou12\Forms\EnchantmentForms::Digueloulou12\Forms\{closure}(object pocketmine\player\Player#29653, array[2])
#1 pmsrc/src/player/Player(2005): jojoe77777\FormAPI\Form->handleResponse(object pocketmine\player\Player#29653, array[2])
#2 pmsrc/src/network/mcpe/handler/InGamePacketHandler(888): pocketmine\player\Player->onFormSubmit(integer 3, array[2])
#3 pmsrc/vendor/pocketmine/bedrock-protocol/src/ModalFormResponsePacket(46): pocketmine\network\mcpe\handler\InGamePacketHandler->handleModalFormResponse(object pocketmine\network\mcpe\protocol\ModalFormResponsePacket#139425)
#4 pmsrc/src/network/mcpe/NetworkSession(398): pocketmine\network\mcpe\protocol\ModalFormResponsePacket->handle(object pocketmine\network\mcpe\handler\InGamePacketHandler#119293)
#5 pmsrc/src/network/mcpe/NetworkSession(361): pocketmine\network\mcpe\NetworkSession->handleDataPacket(object pocketmine\network\mcpe\protocol\ModalFormResponsePacket#139425, string[12] e..[null,1].)
#6 pmsrc/src/network/mcpe/raklib/RakLibInterface(192): pocketmine\network\mcpe\NetworkSession->handleEncoded(string[15] .Ie...+...1....)
#7 pmsrc/vendor/pocketmine/raklib-ipc/src/RakLibToUserThreadMessageReceiver(42): pocketmine\network\mcpe\raklib\RakLibInterface->onPacketReceive(integer 0, string[24] ....d~.`.'...".&..5...hJ)
#8 pmsrc/src/network/mcpe/raklib/RakLibInterface(122): raklib\server\ipc\RakLibToUserThreadMessageReceiver->handle(object pocketmine\network\mcpe\raklib\RakLibInterface#27918)
#9 pmsrc/vendor/pocketmine/snooze/src/SleeperHandler(123): pocketmine\network\mcpe\raklib\RakLibInterface->pocketmine\network\mcpe\raklib\{closure}()
#10 pmsrc/vendor/pocketmine/snooze/src/SleeperHandler(82): pocketmine\snooze\SleeperHandler->processNotifications()
#11 pmsrc/src/Server(1661): pocketmine\snooze\SleeperHandler->sleepUntil(double 1652522117.933)
#12 pmsrc/src/Server(1047): pocketmine\Server->tickProcessor()
#13 pmsrc/src/PocketMine(304): pocketmine\Server->__construct(object BaseClassLoader#2, object pocketmine\utils\MainLogger#3, string[38] D:\Documents\D..veloppement\Minecraft\, string[46] D:\Documents\D..veloppement\Minecraft\plugins\)
#14 pmsrc/src/PocketMine(327): pocketmine\server()
#15 pmsrc(11): require(string[82] phar://D:/Documents/D..veloppement/Minecraft/PocketMine-MP.phar/src/PocketMine.p)

Loaded Plugins

  • Show

Server Settings

  • Show

Installed PHP Extensions

  • Show