DaPigGuy / PiggyCustomEnchants

An open source custom enchantment plugin for PocketMine-MP
https://piggydocs.aericio.net/PiggyCustomEnchants.html
Apache License 2.0
103 stars 119 forks source link

Item minecraft:bone is not a blockitem, but runtime ID 6666 was provided #425

Open Studgi opened 1 year ago

Studgi commented 1 year ago

Issue Description

Steps to Reproduce the Issue

  1. Join lol

OS and Versions

Extra Information

[09:25:49.533] [Server thread/CRITICAL]: pocketmine\network\mcpe\convert\TypeConversionException: "Item minecraft:bone is not a blockitem, but runtime ID 6666 was provided" (EXCEPTION) in "pmsrc/src/network/mcpe/convert/ItemTranslator" at line 127 --- Stack trace ---

0 pmsrc/src/network/mcpe/convert/TypeConverter(263): pocketmine\network\mcpe\convert\ItemTranslator->fromNetworkId(int 130, int 0, int 6666)

1 plugins/PiggyCustomEnchants/src/DaPigGuy/PiggyCustomEnchants/utils/Utils(181): pocketmine\network\mcpe\convert\TypeConverter->netItemStackToCore(object pocketmine\network\mcpe\protocol\types\inventory\ItemStack#82701)

2 plugins/PiggyCustomEnchants/src/DaPigGuy/PiggyCustomEnchants/EventListener(109): DaPigGuy\PiggyCustomEnchants\utils\Utils::displayEnchants(object pocketmine\network\mcpe\protocol\types\inventory\ItemStack#82701)

3 pmsrc/src/event/RegisteredListener(61): DaPigGuy\PiggyCustomEnchants\EventListener->onDataPacketSend(object pocketmine\event\server\DataPacketSendEvent#83054)

Aericio commented 12 months ago

Related https://crash.pmmp.io/view/9333090