menu
#10625409 Class "crakatua\ItemIdentifier" not found

Submitted by PocketMine-MP 5.13.0

General information

Version: 5.13.0
Git commit: f193a990
Plugin involvement: Direct
Report date: 2024-04-03 05:43:55 +0000 UTC
Server uptime: 0 days 0 hours 1 minutes 38 seconds

System Information

PHP version: 8.2.13
JIT status: Not available
Operating system: linux
System banner: Linux 8263815a-0d00-465b-9130-163315a10349 5.4.0-122-generic #138-Ubuntu SMP Wed Jun 22 15:00:31 UTC 2022 x86_64

Error information

Warning: the GKits plugin was directly involved in this crash. Please contact the plugin author.
Thread: Main
Message: Class "crakatua\ItemIdentifier" not found
File: plugins/KITS/src/crakatua/Main
Line: #150
Type: Error
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
}

private function createKit(Player $player, array $args): void {
if(count($args) < 6){
$player->sendMessage("Uso: /kit create <free|paid> <slot> <nombre> <permiso> <item>");
return;
}

[$category, $slot, $name, $permission, $itemName] = array_slice($args, 1, 5);
$item = ItemIdentifier::fromString($itemName);

if($item->isNull()){
$player->sendMessage("El item '$itemName' no es válido.");
return;
}

if(!in_array($category, ['free', 'paid'])){
$player->sendMessage("La categoría debe ser 'free' o 'paid'.");
return;
}
#0 plugins/KITS/src/crakatua/Main(47): crakatua\Main->createKit(object pocketmine\player\Player#149637, array[6])
#1 pmsrc/src/command/PluginCommand(46): crakatua\Main->onCommand(object pocketmine\player\Player#149637, object pocketmine\command\PluginCommand#45302, string[3] kit, array[6])
#2 pmsrc/src/command/SimpleCommandMap(212): pocketmine\command\PluginCommand->execute(object pocketmine\player\Player#149637, string[3] kit, array[6])
#3 pmsrc/src/Server(1431): pocketmine\command\SimpleCommandMap->dispatch(object pocketmine\player\Player#149637, string[43] kit create free 25 Prueba free.kit.use Dirt)
#4 pmsrc/src/player/Player(1516): pocketmine\Server->dispatchCommand(object pocketmine\player\Player#149637, string[43] kit create free 25 Prueba free.kit.use Dirt)
#5 pmsrc/src/network/mcpe/handler/InGamePacketHandler(819): pocketmine\player\Player->chat(string[44] /kit create free 25 Prueba free.kit.use Dirt)
#6 pmsrc/vendor/pocketmine/bedrock-protocol/src/CommandRequestPacket(55): pocketmine\network\mcpe\handler\InGamePacketHandler->handleCommandRequest(object pocketmine\network\mcpe\protocol\CommandRequestPacket#78844)
#7 pmsrc/src/network/mcpe/NetworkSession(456): pocketmine\network\mcpe\protocol\CommandRequestPacket->handle(object pocketmine\network\mcpe\handler\InGamePacketHandler#79733)
#8 pmsrc/src/network/mcpe/NetworkSession(394): pocketmine\network\mcpe\NetworkSession->handleDataPacket(object pocketmine\network\mcpe\protocol\CommandRequestPacket#78844, string[66] M,/kit create free 25 Prueba free.kit.use Dirt..@>....&W....f....L)
#9 pmsrc/src/network/mcpe/raklib/RakLibInterface(214): pocketmine\network\mcpe\NetworkSession->handleEncoded(string[106] .s.....,QH.JM,IUH+JMU02U.(*MMJ.s...z......E%...v.w......}...y...>6..;._8.Q.=.@..)
#10 pmsrc/vendor/pocketmine/raklib-ipc/src/RakLibToUserThreadMessageReceiver(40): pocketmine\network\mcpe\raklib\RakLibInterface->onPacketReceive(int 0, string[115] ..k...D...u.W..":h.p....Dq%........E.",......}..L..q.4.....RV..H......... b....))
#11 pmsrc/src/network/mcpe/raklib/RakLibInterface(107): raklib\server\ipc\RakLibToUserThreadMessageReceiver->handle(object pocketmine\network\mcpe\raklib\RakLibInterface#180044)
#12 pmsrc/src/TimeTrackingSleeperHandler(58): pocketmine\network\mcpe\raklib\RakLibInterface->pocketmine\network\mcpe\raklib\{closure}()
#13 pmsrc/vendor/pocketmine/snooze/src/SleeperHandler(120): pocketmine\TimeTrackingSleeperHandler->pocketmine\{closure}()
#14 pmsrc/src/TimeTrackingSleeperHandler(77): pocketmine\snooze\SleeperHandler->processNotifications()
#15 pmsrc/vendor/pocketmine/snooze/src/SleeperHandler(79): pocketmine\TimeTrackingSleeperHandler->processNotifications()
#16 pmsrc/src/Server(1696): pocketmine\snooze\SleeperHandler->sleepUntil(float 1712123035.9389)
#17 pmsrc/src/Server(1066): pocketmine\Server->tickProcessor()
#18 pmsrc/src/PocketMine(350): pocketmine\Server->__construct(object pocketmine\thread\ThreadSafeClassLoader#6, object pocketmine\utils\MainLogger#3, string[16] /home/container/, string[24] /home/container/plugins/)
#19 pmsrc/src/PocketMine(373): pocketmine\server()
#20 pmsrc(11): require(string[60] phar:///home/container/PocketMine-MP.phar/src/PocketMine.php)

Loaded Plugins

  • Show

Server Settings

  • Show

Installed Composer Dependencies

Installed PHP Extensions

  • Show