menu
#4656809 Unmapped ID/metadata combination 21840: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 22:45:17 +0000 UTC

System Information

PHP version: 7.3.21
Operating system: linux
System banner: Linux ac4126a8-533c-45ba-b1ea-30e990bf34c2 4.15.0-122-generic #124-Ubuntu SMP Thu Oct 15 13:03:05 UTC 2020 x86_64

Error information

Warning: the MysteryCrate 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 21840: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 21840, 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/InventorySlotPacket(50): pocketmine\network\mcpe\protocol\types\inventory\ItemStackWrapper->write(object pocketmine\network\mcpe\protocol\InventorySlotPacket)
#3 src/pocketmine/network/mcpe/protocol/DataPacket(127): pocketmine\network\mcpe\protocol\InventorySlotPacket->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\InventorySlotPacket, boolean , boolean )
#6 src/pocketmine/Player(3338): pocketmine\Player->sendDataPacket(object pocketmine\network\mcpe\protocol\InventorySlotPacket, boolean , boolean )
#7 src/pocketmine/inventory/BaseInventory(468): pocketmine\Player->dataPacket(object pocketmine\network\mcpe\protocol\InventorySlotPacket)
#8 src/pocketmine/inventory/BaseInventory(425): pocketmine\inventory\BaseInventory->sendSlot(integer 16, array[1])
#9 src/pocketmine/inventory/BaseInventory(177): pocketmine\inventory\BaseInventory->onSlotChange(integer 16, object pocketmine\item\Item, boolean 1)
#10 plugins/MysteryCrate.phar/src/JackMD/MysteryCrate/UpdaterEvent(247): pocketmine\inventory\BaseInventory->setItem(integer 16, object pocketmine\item\Item)
#11 plugins/MysteryCrate.phar/src/JackMD/MysteryCrate/UpdaterEvent(216): JackMD\MysteryCrate\UpdaterEvent->setItem(integer 16, object pocketmine\item\Item)
#12 src/pocketmine/scheduler/TaskHandler(137): JackMD\MysteryCrate\UpdaterEvent->onRun(integer 115402)
#13 src/pocketmine/scheduler/TaskScheduler(179): pocketmine\scheduler\TaskHandler->run(integer 115402)
#14 src/pocketmine/plugin/PluginManager(654): pocketmine\scheduler\TaskScheduler->mainThreadHeartbeat(integer 115402)
#15 src/pocketmine/Server(2391): pocketmine\plugin\PluginManager->tickSchedulers(integer 115402)
#16 src/pocketmine/Server(2154): pocketmine\Server->tick()
#17 src/pocketmine/Server(1994): pocketmine\Server->tickProcessor()
#18 src/pocketmine/Server(1588): pocketmine\Server->start()
#19 src/pocketmine/PocketMine(273): pocketmine\Server->__construct(object BaseClassLoader, object pocketmine\utils\MainLogger, string[16] /home/container/, string[24] /home/container/plugins/)
#20 src/pocketmine/PocketMine(304): pocketmine\server()
#21 (11): require(string[71] phar:///home/container/PocketMine-MP.phar/src/pocketmine/PocketMine.php)

Loaded Plugins

  • Show

Server Settings

  • Show