menu
#4656396 Unmapped ID/metadata combination 23821:0

Submitted by PocketMine-MP 3.16.0

General information

Version: 3.16.0
Git commit: d2f68836
Plugin involvement: Indirect
Report date: 2020-11-21 15:49:37 +0000 UTC

System Information

PHP version: 7.3.14
Operating system: linux
System banner: Linux 8a234f09da58 4.4.0-184-generic #214-Ubuntu SMP Thu Jun 4 10:14:11 UTC 2020 x86_64

Error information

Warning: the InvSee plugin was indirectly involved in this crash. This may be a false positive. Please contact the plugin author before opening a bug ticket.
Message: Unmapped ID/metadata combination 23821:0
File: src/pocketmine/network/mcpe/convert/ItemTranslator
Line: #149
Error level: InvalidArgumentException
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
	 */
public function toNetworkId(int $internalId, int $internalMeta) : array{
if(isset($this->complexCoreToNetMapping[$internalId][$internalMeta])){
return [$this->complexCoreToNetMapping[$internalId][$internalMeta], 0];
}
if(array_key_exists($internalId, $this->simpleCoreToNetMapping)){
return [$this->simpleCoreToNetMapping[$internalId], $internalMeta];
}

throw new \InvalidArgumentException("Unmapped ID/metadata combination $internalId:$internalMeta");
}

/**
* @return int[]
* @phpstan-return array{int, int}
*/
public function fromNetworkId(int $networkId, int $networkMeta, ?bool &$isComplexMapping = null) : array{
if(isset($this->complexNetToCoreMapping[$networkId])){
if($networkMeta !== 0){
throw new \UnexpectedValueException("Unexpected non-zero network meta on complex item mapping");
#0 src/pocketmine/network/mcpe/NetworkBinaryStream(262): pocketmine\network\mcpe\convert\ItemTranslator->toNetworkId(integer 23821, integer 0)
#1 src/pocketmine/network/mcpe/protocol/types/inventory/ItemStackWrapper(57): pocketmine\network\mcpe\NetworkBinaryStream->putSlot(object pocketmine\item\Item)
#2 src/pocketmine/network/mcpe/protocol/InventoryContentPacket(52): pocketmine\network\mcpe\protocol\types\inventory\ItemStackWrapper->write(object pocketmine\network\mcpe\protocol\InventoryContentPacket)
#3 src/pocketmine/network/mcpe/protocol/DataPacket(127): pocketmine\network\mcpe\protocol\InventoryContentPacket->encodePayload()
#4 src/pocketmine/network/mcpe/RakLibInterface(244): pocketmine\network\mcpe\protocol\DataPacket->encode()
#5 src/pocketmine/Player(3321): pocketmine\network\mcpe\RakLibInterface->putPacket(object pocketmine\Player, object pocketmine\network\mcpe\protocol\InventoryContentPacket, boolean , boolean )
#6 src/pocketmine/Player(3338): pocketmine\Player->sendDataPacket(object pocketmine\network\mcpe\protocol\InventoryContentPacket, boolean , boolean )
#7 src/pocketmine/inventory/BaseInventory(446): pocketmine\Player->dataPacket(object pocketmine\network\mcpe\protocol\InventoryContentPacket)
#8 src/pocketmine/inventory/ContainerInventory(61): pocketmine\inventory\BaseInventory->sendContents(array[1])
#9 plugins/InvSee.phar/src/BlockHorizons/InvSee/libs/muqsit/invmenu/inventories/BaseFakeInventory(82): pocketmine\inventory\ContainerInventory->onOpen(object pocketmine\Player)
#10 src/pocketmine/inventory/BaseInventory(406): BlockHorizons\InvSee\libs\muqsit\invmenu\inventories\BaseFakeInventory->onOpen(object pocketmine\Player)
#11 plugins/InvSee.phar/src/BlockHorizons/InvSee/libs/muqsit/invmenu/inventories/BaseFakeInventory(77): pocketmine\inventory\BaseInventory->open(object pocketmine\Player)
#12 src/pocketmine/Player(4067): BlockHorizons\InvSee\libs\muqsit\invmenu\inventories\BaseFakeInventory->open(object pocketmine\Player)
#13 plugins/InvSee.phar/src/BlockHorizons/InvSee/libs/muqsit/invmenu/inventories/BaseFakeInventory(129): pocketmine\Player->addWindow(object BlockHorizons\InvSee\inventories\InvSeePlayerInventory)
#14 plugins/InvSee.phar/src/BlockHorizons/InvSee/libs/muqsit/invmenu/tasks/DelayedFakeBlockDataNotifyTask(42): BlockHorizons\InvSee\libs\muqsit\invmenu\inventories\BaseFakeInventory->onFakeBlockDataSendSuccess(object pocketmine\Player)
#15 src/pocketmine/scheduler/TaskHandler(137): BlockHorizons\InvSee\libs\muqsit\invmenu\tasks\DelayedFakeBlockDataNotifyTask->onRun(integer 7106)
#16 src/pocketmine/scheduler/TaskScheduler(179): pocketmine\scheduler\TaskHandler->run(integer 7106)
#17 src/pocketmine/plugin/PluginManager(654): pocketmine\scheduler\TaskScheduler->mainThreadHeartbeat(integer 7106)
#18 src/pocketmine/Server(2391): pocketmine\plugin\PluginManager->tickSchedulers(integer 7106)
#19 src/pocketmine/Server(2154): pocketmine\Server->tick()
#20 src/pocketmine/Server(1994): pocketmine\Server->tickProcessor()
#21 src/pocketmine/Server(1588): pocketmine\Server->start()
#22 src/pocketmine/PocketMine(273): pocketmine\Server->__construct(object BaseClassLoader, object pocketmine\utils\MainLogger, string[8] /server/, string[16] /server/plugins/)
#23 src/pocketmine/PocketMine(304): pocketmine\server()
#24 (11): require(string[56] phar:///server/server.phar/src/pocketmine/PocketMine.php)

Loaded Plugins

  • Show

Server Settings

  • Show