menu
#4775634 Unmapped ID/metadata combination 2000:0

Submitted by PocketMine-MP 3.17.5

General information

Version: 3.17.5
Git commit: 3a0c8dd5
Plugin involvement: None
Report date: 2021-02-23 11:25:55 +0000 UTC
Server uptime: 0 days 0 hours 53 minutes 13 seconds

System Information

PHP version: 7.4.15
Operating system: linux
System banner: Linux AxeriaHost 5.4.0-1039-azure #41~18.04.1-Ubuntu SMP Mon Jan 18 14:00:01 UTC 2021 x86_64

Error information

Message: Unmapped ID/metadata combination 2000:0
File: pmsrc/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 pmsrc/src/pocketmine/network/mcpe/NetworkBinaryStream(260): pocketmine\network\mcpe\convert\ItemTranslator->toNetworkId(integer 2000, integer 0)
#1 pmsrc/src/pocketmine/network/mcpe/protocol/types/inventory/ItemStackWrapper(57): pocketmine\network\mcpe\NetworkBinaryStream->putSlot(object pocketmine\item\Item)
#2 pmsrc/src/pocketmine/network/mcpe/protocol/InventorySlotPacket(50): pocketmine\network\mcpe\protocol\types\inventory\ItemStackWrapper->write(object pocketmine\network\mcpe\protocol\InventorySlotPacket)
#3 pmsrc/src/pocketmine/network/mcpe/protocol/DataPacket(127): pocketmine\network\mcpe\protocol\InventorySlotPacket->encodePayload()
#4 pmsrc/src/pocketmine/network/mcpe/RakLibInterface(244): pocketmine\network\mcpe\protocol\DataPacket->encode()
#5 pmsrc/src/pocketmine/Player(3343): pocketmine\network\mcpe\RakLibInterface->putPacket(object pocketmine\Player, object pocketmine\network\mcpe\protocol\InventorySlotPacket, boolean , boolean )
#6 pmsrc/src/pocketmine/Player(3360): pocketmine\Player->sendDataPacket(object pocketmine\network\mcpe\protocol\InventorySlotPacket, boolean , boolean )
#7 pmsrc/src/pocketmine/inventory/BaseInventory(468): pocketmine\Player->dataPacket(object pocketmine\network\mcpe\protocol\InventorySlotPacket)
#8 pmsrc/src/pocketmine/inventory/BaseInventory(425): pocketmine\inventory\BaseInventory->sendSlot(integer 7, array[1])
#9 pmsrc/src/pocketmine/inventory/BaseInventory(177): pocketmine\inventory\BaseInventory->onSlotChange(integer 7, object pocketmine\item\ItemBlock, boolean 1)
#10 pmsrc/src/pocketmine/inventory/BaseInventory(315): pocketmine\inventory\BaseInventory->setItem(integer 7, object pocketmine\item\Item)
#11 pmsrc/src/pocketmine/command/defaults/GiveCommand(95): pocketmine\inventory\BaseInventory->addItem(object pocketmine\item\Item)
#12 pmsrc/src/pocketmine/command/SimpleCommandMap(248): pocketmine\command\defaults\GiveCommand->execute(object pocketmine\command\ConsoleCommandSender, string[4] give, array[2])
#13 pmsrc/src/pocketmine/Server(1810): pocketmine\command\SimpleCommandMap->dispatch(object pocketmine\command\ConsoleCommandSender, string[12] give re 2000)
#14 pmsrc/src/pocketmine/Server(1422): pocketmine\Server->dispatchCommand(object pocketmine\command\ConsoleCommandSender, string[12] give re 2000)
#15 pmsrc/vendor/pocketmine/snooze/src/SleeperHandler(113): pocketmine\Server->pocketmine\{closure}()
#16 pmsrc/vendor/pocketmine/snooze/src/SleeperHandler(75): pocketmine\snooze\SleeperHandler->processNotifications()
#17 pmsrc/src/pocketmine/Server(2156): pocketmine\snooze\SleeperHandler->sleepUntil(double 1614079555.946)
#18 pmsrc/src/pocketmine/Server(1993): pocketmine\Server->tickProcessor()
#19 pmsrc/src/pocketmine/Server(1587): pocketmine\Server->start()
#20 pmsrc/src/pocketmine/PocketMine(291): pocketmine\Server->__construct(object BaseClassLoader, object pocketmine\utils\MainLogger, string[11] /root/mcpe/, string[19] /root/mcpe/plugins/)
#21 pmsrc/src/pocketmine/PocketMine(321): pocketmine\server()
#22 pmsrc(11): require(string[66] phar:///root/mcpe/PocketMine-MP.phar/src/pocketmine/PocketMine.php)

Loaded Plugins

  • Show

Server Settings

  • Show