menu
#4774556 Unable to resolve "Escalibur" to a valid item

Submitted by PocketMine-MP 3.17.5

General information

Version: 3.17.5
Git commit: 3a0c8dd5
Plugin involvement: Indirect
Report date: 2021-02-22 22:09:35 +0000 UTC
Server uptime: 0 days 0 hours 6 minutes 2 seconds

System Information

PHP version: 7.3.23
Operating system: linux
System banner: Linux ip135-148-6-172 4.15.0-135-generic #139-Ubuntu SMP Mon Jan 18 17:38:24 UTC 2021 x86_64

Error information

Warning: the WorldProtect plugin was indirectly involved in this crash. This may be a false positive. Please contact the plugin author before opening a bug ticket.
Message: Unable to resolve "Escalibur" to a valid item
File: pmsrc/src/pocketmine/item/ItemFactory
Line: #381
Error level: InvalidArgumentException
372
373
374
375
376
377
378
379
380
381
382
383
384
385
386
387
388
389
390
391
		}else{
throw new \InvalidArgumentException("Unable to parse \"" . $b[1] . "\" from \"" . $str . "\" as a valid meta value");
}

if(is_numeric($b[0])){
$item = self::get((int) $b[0], $meta);
}elseif(defined(ItemIds::class . "::" . mb_strtoupper($b[0]))){
$item = self::get(constant(ItemIds::class . "::" . mb_strtoupper($b[0])), $meta);
}else{
throw new \InvalidArgumentException("Unable to resolve \"" . $str . "\" to a valid item");
}

return $item;
}

/**
* Returns whether the specified item ID is already registered in the item factory.
*/
public static function isRegistered(int $id) : bool{
if($id < 256){
#0 pmsrc/src/pocketmine/item/ItemFactory(362): pocketmine\item\ItemFactory::fromStringSingle(string[9] Escalibur)
#1 pmsrc/src/pocketmine/item/Item(113): pocketmine\item\ItemFactory::fromString(string[9] Escalibur, boolean )
#2 plugins/WorldProtect_v2.3.8.phar/src/aliuly/worldprotect/BanItem(78): pocketmine\item\Item::fromString(string[9] Escalibur)
#3 plugins/WorldProtect_v2.3.8.phar/src/aliuly/worldprotect/common/SubCommandMap(48): aliuly\worldprotect\BanItem->onSCommand(object pocketmine\command\ConsoleCommandSender, integer 0, string[7] banitem, string[9] Escalibur, array[2])
#4 plugins/WorldProtect_v2.3.8.phar/src/aliuly/worldprotect/common/BasicPlugin(122): aliuly\worldprotect\common\SubCommandMap->dispatchSCmd(object pocketmine\command\ConsoleCommandSender, object pocketmine\command\PluginCommand, array[2], string[9] Escalibur)
#5 plugins/WorldProtect_v2.3.8.phar/src/aliuly/worldprotect/Main(235): aliuly\worldprotect\common\BasicPlugin->dispatchSCmd(object pocketmine\command\ConsoleCommandSender, object pocketmine\command\PluginCommand, array[3], string[9] Escalibur)
#6 pmsrc/src/pocketmine/command/PluginCommand(54): aliuly\worldprotect\Main->onCommand(object pocketmine\command\ConsoleCommandSender, object pocketmine\command\PluginCommand, string[2] wp, array[3])
#7 pmsrc/src/pocketmine/command/SimpleCommandMap(248): pocketmine\command\PluginCommand->execute(object pocketmine\command\ConsoleCommandSender, string[2] wp, array[3])
#8 pmsrc/src/pocketmine/Server(1810): pocketmine\command\SimpleCommandMap->dispatch(object pocketmine\command\ConsoleCommandSender, string[24] wp banitem 325 Escalibur)
#9 pmsrc/src/pocketmine/Server(1422): pocketmine\Server->dispatchCommand(object pocketmine\command\ConsoleCommandSender, string[24] wp banitem 325 Escalibur)
#10 pmsrc/vendor/pocketmine/snooze/src/SleeperHandler(113): pocketmine\Server->pocketmine\{closure}()
#11 pmsrc/vendor/pocketmine/snooze/src/SleeperHandler(75): pocketmine\snooze\SleeperHandler->processNotifications()
#12 pmsrc/src/pocketmine/Server(2156): pocketmine\snooze\SleeperHandler->sleepUntil(double 1614031775.6143)
#13 pmsrc/src/pocketmine/Server(1993): pocketmine\Server->tickProcessor()
#14 pmsrc/src/pocketmine/Server(1587): pocketmine\Server->start()
#15 pmsrc/src/pocketmine/PocketMine(291): pocketmine\Server->__construct(object BaseClassLoader, object pocketmine\utils\MainLogger, string[45] /home/minecraft/multicraft/servers/server728/, string[53] /home/minecraft/multicraft/servers/server728/plugins/)
#16 pmsrc/src/pocketmine/PocketMine(321): pocketmine\server()
#17 pmsrc(11): require(string[81] phar:///home/minecraft/multicraft/jar/1.16.100.phar/src/pocketmine/PocketMine.ph)

Loaded Plugins

  • Show

Server Settings

  • Show