CustomiesDevs/Customies

error when adding custom blocks

Milantor opened this issue · 0 comments

Maybe I'm doing something wrong, but please help me

[11:01:08.383] [Server thread/CRITICAL]: InvalidArgumentException: "Unmapped ID/metadata combination -216:0" (EXCEPTION) in "pmsrc/src/network/mcpe/convert/ItemTranslator" at line 168
--- Stack trace ---
#0 pmsrc/src/network/mcpe/convert/TypeConverter(121): pocketmine\network\mcpe\convert\ItemTranslator->toNetworkId(int -216, int 0)
#1 pmsrc/src/network/mcpe/cache/CraftingDataCache(94): pocketmine\network\mcpe\convert\TypeConverter->coreItemStackToRecipeIngredient(object pocketmine\item\Item#120029)
#2 (): pocketmine\network\mcpe\cache\CraftingDataCache->pocketmine\network\mcpe\cache{closure}(object pocketmine\item\Item#120029)
#3 pmsrc/src/network/mcpe/cache/CraftingDataCache(95): array_map(object Closure#120005, array[1])
#4 pmsrc/src/network/mcpe/cache/CraftingDataCache(68): pocketmine\network\mcpe\cache\CraftingDataCache->buildCraftingDataCache(object pocketmine\crafting\CraftingManager#309)
#5 pmsrc/src/network/mcpe/handler/PreSpawnPacketHandler(119): pocketmine\network\mcpe\cache\CraftingDataCache->getCache(object pocketmine\crafting\CraftingManager#309)
#6 pmsrc/src/network/mcpe/NetworkSession(309): pocketmine\network\mcpe\handler\PreSpawnPacketHandler->setUp()
#7 pmsrc/src/network/mcpe/NetworkSession(687): pocketmine\network\mcpe\NetworkSession->setHandler(object pocketmine\network\mcpe\handler\PreSpawnPacketHandler#123318)
#8 pmsrc/src/network/mcpe/NetworkSession(260): pocketmine\network\mcpe\NetworkSession->beginSpawnSequence()
#9 pmsrc/src/promise/Promise(45): pocketmine\network\mcpe\NetworkSession->onPlayerCreated(object pocketmine\player\Player#123654)
#10 pmsrc/src/network/mcpe/NetworkSession(224): pocketmine\promise\Promise->onCompletion(object Closure#123795, object Closure#123776)
#11 pmsrc/src/network/mcpe/NetworkSession(682): pocketmine\network\mcpe\NetworkSession->createPlayer()
#13 pmsrc/vendor/pocketmine/bedrock-protocol/src/ResourcePackClientResponsePacket(61): pocketmine\network\mcpe\handler\ResourcePacksPacketHandler->handleResourcePackClientResponse(object pocketmine\network\mcpe\protocol\ResourcePackClientResponsePacket#123804) #14 pmsrc/src/network/mcpe/NetworkSession(388): pocketmine\network\mcpe\protocol\ResourcePackClientResponsePacket->handle(object pocketmine\network\mcpe\handler\ResourcePacksPacketHandler#123796) #15 pmsrc/src/network/mcpe/NetworkSession(351): pocketmine\network\mcpe\NetworkSession->handleDataPacket(object pocketmine\network\mcpe\protocol\ResourcePackClientResponsePacket#123804, string[4] ....) #16 pmsrc/src/network/mcpe/raklib/RakLibInterface(182): pocketmine\network\mcpe\NetworkSession->handleEncoded(string[7] c.a..)
#17 pmsrc/vendor/pocketmine/raklib-ipc/src/RakLibToUserThreadMessageReceiver(42): pocketmine\network\mcpe\raklib\RakLibInterface->onPacketReceive(int 0, strin\mcpe\raklib\RakLibInterface->pocketmine\network\mcpe\raklib{closure}() #20 pmsrc/vendor/pocketmine/snooze/src/SleeperHandler(82): pocketmine\snooze\SleeperHandler->processNotifications() #21 pmsrc/src/Server(1703): pocketmine\snooze\SleeperHandler->sleepUntil(float 1656144068.3439) #22 pmsrc/src/Server(1063): pocketmine\Server->tickProcessor()
#23 pmsrc/src/PocketMine(304): pocketmine\Server->__construct(object BaseClassLoader#3, object pocketmine\utils\MainLogger#2, string[10] /root/BE0/, string[18] /root/BE0/plugins/) #24 pmsrc/src/PocketMine(327): pocketmine\server()
#25 pmsrc(11): require(string[54] phar:///root/BE0/PocketMine-MP.phar/src/PocketMine.php) --- End of exception