menu
#4656671 Unmapped ID/metadata combination 830:0

Submitted by PocketMine-MP 3.16.0

General information

Version: 3.16.0
Git commit: d2f68836
Plugin involvement: None
Report date: 2020-11-21 19:41:11 +0000 UTC

System Information

PHP version: 7.3.20
Operating system: linux
System banner: Linux ns3059569 4.19.0-10-amd64 #1 SMP Debian 4.19.132-1 (2020-07-24) x86_64

Error information

Message: Unmapped ID/metadata combination 830: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 830, integer 0)
#1 src/pocketmine/network/mcpe/protocol/AddItemActorPacket(66): pocketmine\network\mcpe\NetworkBinaryStream->putSlot(object pocketmine\item\Item)
#2 src/pocketmine/network/mcpe/protocol/DataPacket(127): pocketmine\network\mcpe\protocol\AddItemActorPacket->encodePayload()
#3 src/pocketmine/network/mcpe/RakLibInterface(244): pocketmine\network\mcpe\protocol\DataPacket->encode()
#4 src/pocketmine/Player(3321): pocketmine\network\mcpe\RakLibInterface->putPacket(object pocketmine\Player, object pocketmine\network\mcpe\protocol\AddItemActorPacket, boolean , boolean )
#5 src/pocketmine/Player(3338): pocketmine\Player->sendDataPacket(object pocketmine\network\mcpe\protocol\AddItemActorPacket, boolean , boolean )
#6 src/pocketmine/entity/object/ItemEntity(179): pocketmine\Player->dataPacket(object pocketmine\network\mcpe\protocol\AddItemActorPacket)
#7 src/pocketmine/entity/Entity(1961): pocketmine\entity\object\ItemEntity->sendSpawnPacket(object pocketmine\Player)
#8 src/pocketmine/Player(1018): pocketmine\entity\Entity->spawnTo(object pocketmine\Player)
#9 src/pocketmine/level/Level(2490): pocketmine\Player->sendChunk(integer 65, integer 102, object pocketmine\network\mcpe\protocol\BatchPacket)
#10 src/pocketmine/level/Level(2545): pocketmine\level\Level->sendChunkFromCache(integer 65, integer 102)
#11 src/pocketmine/level/format/io/ChunkRequestTask(81): pocketmine\level\Level->chunkRequestCallback(integer 65, integer 102, object pocketmine\network\mcpe\protocol\BatchPacket)
#12 src/pocketmine/scheduler/AsyncPool(319): pocketmine\level\format\io\ChunkRequestTask->onCompletion(object pocketmine\Server)
#13 src/pocketmine/Server(2395): pocketmine\scheduler\AsyncPool->collectTasks()
#14 src/pocketmine/Server(2154): pocketmine\Server->tick()
#15 src/pocketmine/Server(1994): pocketmine\Server->tickProcessor()
#16 src/pocketmine/Server(1588): pocketmine\Server->start()
#17 src/pocketmine/PocketMine(273): pocketmine\Server->__construct(object BaseClassLoader, object pocketmine\utils\MainLogger, string[25] /home/nationsglory/alpha/, string[33] /home/nationsglory/alpha/plugins/)
#18 src/pocketmine/PocketMine(304): pocketmine\server()
#19 (11): require(string[80] phar:///home/nationsglory/alpha/PocketMine-MP.phar/src/pocketmine/PocketMine.php)

Loaded Plugins

  • Show

Server Settings

  • Show