menu
#6720010 Unable to resolve "bottle" to a valid item

Submitted by PocketMine-MP 4.3.2

General information

Version: 4.3.2
Git commit: 755ca1af
Plugin involvement: Indirect
Report date: 2022-05-14 09:46:10 +0000 UTC
Server uptime: 0 days 15 hours 43 minutes 59 seconds

System Information

PHP version: 8.0.18
Operating system: linux
System banner: Linux 160-251-20-199 5.4.0-70-generic #78-Ubuntu SMP Fri Mar 19 13:29:52 UTC 2021 x86_64

Error information

Warning: the Mineflow 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 "bottle" to a valid item
File: pmsrc/src/item/LegacyStringToItemParser
Line: #119
Error level: pocketmine\item\LegacyStringToItemParserException
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
		}elseif(is_numeric($b[1])){
$meta = (int) $b[1];
}else{
throw new LegacyStringToItemParserException("Unable to parse \"" . $b[1] . "\" from \"" . $input . "\" as a valid meta value");
}

if(isset($this->map[strtolower($b[0])])){
$item = $this->itemFactory->get($this->map[strtolower($b[0])], $meta);
}else{
throw new LegacyStringToItemParserException("Unable to resolve \"" . $input . "\" to a valid item");
}

return $item;
}

protected function reprocess(string $input) : string{
return str_replace([" ", "minecraft:"], ["_", ""], trim($input));
}
}
#0 plugins/Mineflow_dev-267.phar/src/aieuo/mineflow/flowItem/action/item/CreateItemVariable(91): pocketmine\item\LegacyStringToItemParser->parse(string[6] bottle)
#1 plugins/Mineflow_dev-267.phar/src/aieuo/mineflow/flowItem/FlowItemExecutor(62): aieuo\mineflow\flowItem\action\item\CreateItemVariable->execute(object aieuo\mineflow\flowItem\FlowItemExecutor#162612)
#2 plugins/Mineflow_dev-267.phar/src/aieuo/mineflow/flowItem/action/script/IFAction(54): aieuo\mineflow\flowItem\FlowItemExecutor->executeGenerator()
#3 plugins/Mineflow_dev-267.phar/src/aieuo/mineflow/flowItem/FlowItemExecutor(62): aieuo\mineflow\flowItem\action\script\IFAction->execute(object aieuo\mineflow\flowItem\FlowItemExecutor#119827)
#4 plugins/Mineflow_dev-267.phar/src/aieuo/mineflow/flowItem/action/script/IFAction(54): aieuo\mineflow\flowItem\FlowItemExecutor->executeGenerator()
#5 plugins/Mineflow_dev-267.phar/src/aieuo/mineflow/flowItem/FlowItemExecutor(62): aieuo\mineflow\flowItem\action\script\IFAction->execute(object aieuo\mineflow\flowItem\FlowItemExecutor#156558)
#6 (): aieuo\mineflow\flowItem\FlowItemExecutor->executeGenerator()
#7 plugins/Mineflow_dev-267.phar/src/aieuo/mineflow/flowItem/FlowItemExecutor(89): Generator->next()
#8 plugins/Mineflow_dev-267.phar/src/aieuo/mineflow/recipe/Recipe(251): aieuo\mineflow\flowItem\FlowItemExecutor->execute()
#9 plugins/Mineflow_dev-267.phar/src/aieuo/mineflow/recipe/Recipe(212): aieuo\mineflow\recipe\Recipe->execute(object pocketmine\player\Player#157638, object pocketmine\event\player\PlayerInteractEvent#147874, array[12], array[0], NULL )
#10 plugins/Mineflow_dev-267.phar/src/aieuo/mineflow/recipe/RecipeContainer(49): aieuo\mineflow\recipe\Recipe->executeAllTargets(object pocketmine\player\Player#157638, array[9], object pocketmine\event\player\PlayerInteractEvent#147874)
#11 plugins/Mineflow_dev-267.phar/src/aieuo/mineflow/EventListener(70): aieuo\mineflow\recipe\RecipeContainer->executeAll(object pocketmine\player\Player#157638, array[1], object pocketmine\event\player\PlayerInteractEvent#147874)
#12 pmsrc/src/event/RegisteredListener(75): aieuo\mineflow\EventListener->onInteract(object pocketmine\event\player\PlayerInteractEvent#147874)
#13 pmsrc/src/event/Event(62): pocketmine\event\RegisteredListener->callEvent(object pocketmine\event\player\PlayerInteractEvent#147874)
#14 pmsrc/src/world/World(1831): pocketmine\event\Event->call()
#15 pmsrc/src/player/Player(1675): pocketmine\world\World->useItemOn(object pocketmine\math\Vector3#171780, object pocketmine\item\GlassBottle#167529, integer 5, object pocketmine\math\Vector3#152655, object pocketmine\player\Player#157638, true)
#16 pmsrc/src/network/mcpe/handler/InGamePacketHandler(446): pocketmine\player\Player->interactBlock(object pocketmine\math\Vector3#171780, integer 5, object pocketmine\math\Vector3#152655)
#17 pmsrc/src/network/mcpe/handler/InGamePacketHandler(304): pocketmine\network\mcpe\handler\InGamePacketHandler->handleUseItemTransaction(object pocketmine\network\mcpe\protocol\types\inventory\UseItemTransactionData#152083)
#18 plugins/VanillaX-4.0/src/CLADevs/VanillaX/network/InGamePacketHandlerX(205): pocketmine\network\mcpe\handler\InGamePacketHandler->handleInventoryTransaction(object pocketmine\network\mcpe\protocol\InventoryTransactionPacket#154309)
#19 pmsrc/vendor/pocketmine/bedrock-protocol/src/InventoryTransactionPacket(105): CLADevs\VanillaX\network\InGamePacketHandlerX->handleInventoryTransaction(object pocketmine\network\mcpe\protocol\InventoryTransactionPacket#154309)
#20 pmsrc/src/network/mcpe/NetworkSession(398): pocketmine\network\mcpe\protocol\InventoryTransactionPacket->handle(object CLADevs\VanillaX\network\InGamePacketHandlerX#168002)
#21 pmsrc/src/network/mcpe/NetworkSession(361): pocketmine\network\mcpe\NetworkSession->handleDataPacket(object pocketmine\network\mcpe\protocol\InventoryTransactionPacket#154309, string[56] [email protected]&A...C...?...?.j.?.,)
#22 pmsrc/src/network/mcpe/raklib/RakLibInterface(192): pocketmine\network\mcpe\NetworkSession->handleEncoded(string[88] c.a....",......0s]b........\.pp.'.y..5.#..8304.?...g...?.c>..a.....;N.. .$......)
#23 pmsrc/vendor/pocketmine/raklib-ipc/src/RakLibToUserThreadMessageReceiver(42): pocketmine\network\mcpe\raklib\RakLibInterface->onPacketReceive(integer 1, string[97] .T_.....|..}.........9......S....R..lo.G....QM.-..i(l....}........q......M..;3J.)
#24 pmsrc/src/network/mcpe/raklib/RakLibInterface(122): raklib\server\ipc\RakLibToUserThreadMessageReceiver->handle(object pocketmine\network\mcpe\raklib\RakLibInterface#30234)
#25 pmsrc/vendor/pocketmine/snooze/src/SleeperHandler(123): pocketmine\network\mcpe\raklib\RakLibInterface->pocketmine\network\mcpe\raklib\{closure}()
#26 pmsrc/vendor/pocketmine/snooze/src/SleeperHandler(82): pocketmine\snooze\SleeperHandler->processNotifications()
#27 pmsrc/src/Server(1661): pocketmine\snooze\SleeperHandler->sleepUntil(double 1652521570.3647)
#28 pmsrc/src/Server(1047): pocketmine\Server->tickProcessor()
#29 pmsrc/src/PocketMine(304): pocketmine\Server->__construct(object BaseClassLoader#3, object pocketmine\utils\MainLogger#2, string[16] /home/pmmp/pmmp/, string[24] /home/pmmp/pmmp/plugins/)
#30 pmsrc/src/PocketMine(327): pocketmine\server()
#31 pmsrc(11): require(string[60] phar:///home/pmmp/pmmp/PocketMine-MP.phar/src/PocketMine.php)

Loaded Plugins

  • Show

Server Settings

  • Show

Installed PHP Extensions

  • Show