PMMPPluginsRepository / PMExpansion

A plugin that make the PocketMine-MP environment similar to vanilla.
23 stars 4 forks source link

Error #17

Open AraaCuteUwU opened 1 year ago

AraaCuteUwU commented 1 year ago

[Server thread/CRITICAL]: Error: "Array callback must have exactly two elements" (EXCEPTION) in "pmsrc/src/data/bedrock/block/convert/BlockObjectToStateSerializer" at line 258 --- Stack trace ---

0 pmsrc/src/data/bedrock/block/convert/BlockObjectToStateSerializer(202): pocketmine\data\bedrock\block\convert\BlockObjectToStateSerializer->serializeBlock(object skh6075\pmexpansion\block\Honey#144452)

1 pmsrc/src/data/bedrock/item/ItemSerializer(175): pocketmine\data\bedrock\block\convert\BlockObjectToStateSerializer->serialize(int 2742231)

2 pmsrc/src/data/bedrock/item/ItemSerializer(164): pocketmine\data\bedrock\item\ItemSerializer->standardBlock(object skh6075\pmexpansion\block\Honey#144400)

3 pmsrc/src/data/bedrock/item/ItemSerializer(97): pocketmine\data\bedrock\item\ItemSerializer->serializeBlockItem(object skh6075\pmexpansion\block\Honey#144400)

4 pmsrc/src/network/mcpe/convert/ItemTranslator(70): pocketmine\data\bedrock\item\ItemSerializer->serializeType(object pocketmine\item\ItemBlock#157357)

5 pmsrc/src/network/mcpe/convert/ItemTranslator(55): pocketmine\network\mcpe\convert\ItemTranslator->toNetworkId(object pocketmine\item\ItemBlock#157357)

6 pmsrc/src/network/mcpe/convert/TypeConverter(216): pocketmine\network\mcpe\convert\ItemTranslator->toNetworkIdQuiet(object pocketmine\item\ItemBlock#157357)

7 pmsrc/src/network/mcpe/cache/CreativeInventoryCache(64): pocketmine\network\mcpe\convert\TypeConverter->coreItemStackToNet(object pocketmine\item\ItemBlock#157357)

8 pmsrc/src/network/mcpe/cache/CreativeInventoryCache(51): pocketmine\network\mcpe\cache\CreativeInventoryCache->buildCreativeInventoryCache(object pocketmine\inventory\CreativeInventory#184409)

9 pmsrc/src/network/mcpe/InventoryManager(606): pocketmine\network\mcpe\cache\CreativeInventoryCache->getCache(object pocketmine\inventory\CreativeInventory#184409)

10 pmsrc/src/network/mcpe/handler/PreSpawnPacketHandler(143): pocketmine\network\mcpe\InventoryManager->syncCreative()

11 pmsrc/src/network/mcpe/NetworkSession(324): pocketmine\network\mcpe\handler\PreSpawnPacketHandler->setUp()

12 pmsrc/src/network/mcpe/NetworkSession(811): pocketmine\network\mcpe\NetworkSession->setHandler(object pocketmine\network\mcpe\handler\PreSpawnPacketHandler#168825)

13 pmsrc/src/network/mcpe/NetworkSession(275): pocketmine\network\mcpe\NetworkSession->beginSpawnSequence()

14 pmsrc/src/promise/Promise(45): pocketmine\network\mcpe\NetworkSession->onPlayerCreated(object pocketmine\player\Player#169404)

15 pmsrc/src/network/mcpe/NetworkSession(238): pocketmine\promise\Promise->onCompletion(object Closure#169403, object Closure#169434)

16 pmsrc/src/network/mcpe/NetworkSession(806): pocketmine\network\mcpe\NetworkSession->createPlayer()

17 pmsrc/src/network/mcpe/handler/ResourcePacksPacketHandler(142): pocketmine\network\mcpe\NetworkSession->pocketmine\network\mcpe{closure}()

18 pmsrc/vendor/pocketmine/bedrock-protocol/src/ResourcePackClientResponsePacket(61): pocketmine\network\mcpe\handler\ResourcePacksPacketHandler->handleResourcePackClientResponse(object pocketmine\network\mcpe\protocol\ResourcePackClientResponsePacket#185418)

19 pmsrc/src/network/mcpe/NetworkSession(437): pocketmine\network\mcpe\protocol\ResourcePackClientResponsePacket->handle(object pocketmine\network\mcpe\handler\ResourcePacksPacketHandler#169456)

20 pmsrc/src/network/mcpe/NetworkSession(381): pocketmine\network\mcpe\NetworkSession->handleDataPacket(object pocketmine\network\mcpe\protocol\ResourcePackClientResponsePacket#185418, string[4] ....)

21 pmsrc/src/network/mcpe/raklib/RakLibInterface(217): pocketmine\network\mcpe\NetworkSession->handleEncoded(string[7] c.a..)

22 pmsrc/vendor/pocketmine/raklib-ipc/src/RakLibToUserThreadMessageReceiver(40): pocketmine\network\mcpe\raklib\RakLibInterface->onPacketReceive(int 0, string[16] .....&.k..`.?.)

23 pmsrc/src/network/mcpe/raklib/RakLibInterface(109): raklib\server\ipc\RakLibToUserThreadMessageReceiver->handle(object pocketmine\network\mcpe\raklib\RakLibInterface#169886)

24 pmsrc/vendor/pocketmine/snooze/src/SleeperHandler(120): pocketmine\network\mcpe\raklib\RakLibInterface->pocketmine\network\mcpe\raklib{closure}()

25 pmsrc/src/TimeTrackingSleeperHandler(58): pocketmine\snooze\SleeperHandler->processNotifications()

26 pmsrc/vendor/pocketmine/snooze/src/SleeperHandler(79): pocketmine\TimeTrackingSleeperHandler->processNotifications()

27 pmsrc/src/Server(1674): pocketmine\snooze\SleeperHandler->sleepUntil(float 1686189989.7842)

28 pmsrc/src/Server(1063): pocketmine\Server->tickProcessor()

29 pmsrc/src/PocketMine(334): pocketmine\Server->__construct(object pocketmine\thread\ThreadSafeClassLoader#6, object pocketmine\utils\MainLogger#3, string[54] C:\Users\LENOVO\OneDrive\Documents\project\reborn\pm5\, string[62] C:\Users\LENOVO\OneDrive\Documents\project\reborn\pm5\plugins)

30 pmsrc/src/PocketMine(357): pocketmine\server()

31 pmsrc(11): require(string[98] phar://C:/Users/LENOVO/OneDrive/Documents/project/reborn/pm5/PocketMine-MP.phar/)

--- End of exception information ---