Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

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

Open
Studgi opened this issue Sep 29, 2023 · 1 comment · May be fixed by #419
Open

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

Studgi opened this issue Sep 29, 2023 · 1 comment · May be fixed by #419
Assignees

Comments

@Studgi
Copy link

Studgi commented Sep 29, 2023

Issue Description

  • Expected result: Not to crash on join
  • Actual result: Crash on join

Steps to Reproduce the Issue

  1. Join lol

OS and Versions

  • PocketMine-MP: 5.6.0
  • PiggyCustomEnchants: Very Latest
  • PHP: 8.2
  • Server OS: Ubuntu

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
Copy link
Collaborator

Aericio commented Oct 7, 2023

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

@Aericio Aericio mentioned this issue Oct 7, 2023
@Aericio Aericio changed the title Crash bug Item minecraft:bone is not a blockitem, but runtime ID 6666 was provided Oct 7, 2023
@Aericio Aericio linked a pull request Oct 26, 2023 that will close this issue
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging a pull request may close this issue.

3 participants