KubeJS

KubeJS

61M Downloads

CraftingHelper.processConditions missing IContext param

JaisDK opened this issue ยท 0 comments

commented

Minecraft Version

1.18.2

KubeJS Version

1802.5.1-build.333

Rhino Version

1801.1.9-build.135

Architectury Version

4.1.44

Forge/Fabric Version

40.0.52

Describe your issue

Forge 40.0.36 introduced an IContext to the recipe manager which is used when processing recipe conditions. You need to change your calls to CraftingHelper.processConditions to pass the correct IContext as third parameter otherwise an empty context is used making all tag conditions fail.

https://github.com/KubeJS-Mods/KubeJS/blob/1.18/main/forge/src/main/java/dev/latvian/mods/kubejs/recipe/forge/RecipeEventJSImpl.java#L13

Crash report/logs

No response