Just Enough Items (JEI)

Just Enough Items (JEI)

369M Downloads

[Bug]: Synced registries aren't available for JEI via RegistryUtil at startup

Tslat opened this issue · 2 comments

commented

Call RegistryUtil.getRegistry(Registries.ENCHANTMENT) at onRuntimeAvailable

It'll NPE

https://discord.com/channels/166630061217153024/418125698486632448/1255118518253256715

commented

Thanks for the report!
I am not able to reproduce this issue, I tried to trigger it with my debug plugin but it worked fine.
Screenshot 2024-07-01 at 4 44 39 PM

Can you please give more detailed steps to reproduce the problem?
Which loader are you using?
Are you connecting to a dedicated server, or are you doing this in singleplayer?

commented

FFS

Intellij swapped out my import - I was using a legacy class with the same name and method signature and I didn't even notice lol

Sorry, false alarm