RCXcrafter / EmbersRekindled

Port of Embers Rekindled to a minecraft version beyond 1.12.2
MIT License
11 stars 7 forks source link

KubeJS failing on first run #14

Closed aszecsei closed 9 months ago

aszecsei commented 9 months ago

When starting up the game, KubeJS runs into a null pointer exception (stacktrace) in the StampingRecipe.getResultItem function.

Running a /reload command causes things to work properly.

Using: Embers Rekindled 1.20.1-1.1.0 NeoForge 47.1.84 KubeJS 2001.6.4-build.114

RCXcrafter commented 9 months ago

If this is happening before a world is loaded then kubejs is trying to get the result of a recipe before tags are loaded, I can handle that a little more gracefully to prevent the log from being spammed but it still won't work properly.

TalonsOfStealth commented 9 months ago

I have 100 some odd mods loaded, but after reloading the world all embers machine recipes disappear from JEI, however they still function, I don't know if that will help track down the bug or not

Druivenpasta commented 9 months ago

You should be able to lower the priority from kube recipes and make kube load all the tags first, in theory that should fix it