PluginBugs / Issues-ItemsAdder

Repository used to keep track of issues of my plugin ItemsAdder
https://itemsadder.devs.beer
54 stars 21 forks source link

java.lang.IllegalStateException: Missing registry: ResourceKey[minecraft:root / minecraft:recipe_serializer] #4053

Open VacAge opened 1 month ago

VacAge commented 1 month ago

Terms

Discord Username (optional)

VacAge

What happened?

After logging in server, the player issues a huge error...

[13:58:01] [Server thread/ERROR]: [ItemsAdder] Unhandled exception occurred in onPacketSending(PacketEvent) for ItemsAdder
java.lang.IllegalStateException: Missing registry: ResourceKey[minecraft:root / minecraft:recipe_serializer]

Steps to reproduce the issue

  1. Start server
  2. Log in to the server
  3. Error

Server version

1.20.6-2233-0d6766e (MC: 1.20.6)*

ItemsAdder Version

4.0.2-beta-release-12

ProtocolLib Version

5.3.0-SNAPSHOT-732

LoneLibs Version

1.0.59

Full Server Log

https://mclo.gs/QEF90pt

Error (optional)

https://mclo.gs/PHPH1Qo

Problematic items yml configuration file (optional)

No response

Other files, you can drag and drop them here to upload. (optional)

No response

Screenshots/Videos (you can drag and drop files or paste links)

-

Andre601 commented 1 month ago

From what I can see and understand in the error is the issue a missing resource key related to recipes... Why it is missing is a whole other question tho, as there could be different causes. Please test if this issue appears with just ItemsAdder and its dependencies alone to exclude the possibility of another plugin causing the issue.

VacAge commented 1 month ago

Из того, что я вижу и понимаю в ошибке, проблема в отсутствующем ключе ресурса, связанном с рецептами... Почему его нет — это совсем другой вопрос, поскольку причины могут быть разными. Пожалуйста, проверьте, возникает ли эта проблема только с ItemsAdder и его зависимостями, чтобы исключить возможность того, что другой плагин вызывает проблему.

I'll try to do it tomorrow, thanks.

VacAge commented 1 month ago

From what I can see and understand in the error is the issue a missing resource key related to recipes... Why it is missing is a whole other question tho, as there could be different causes. Please test if this issue appears with just ItemsAdder and its dependencies alone to exclude the possibility of another plugin causing the issue.

I found what the problem is in the IA config

VacAge commented 1 month ago

If you set this parameter to true, everything breaks config.yml -> recipes: -> fix-packet-too-large-kick: true

VacAge commented 1 month ago

If you set this parameter to false, then there are no mistakes config.yml -> recipes: -> fix-packet-too-large-kick: false