MehVahdJukaar / Randomium

2 stars 8 forks source link

Recipe conflict with KubeJS replaceInput function (1.16.5) #7

Closed MrZora closed 2 years ago

MrZora commented 2 years ago

[02:55:49] [ERR ] Error occurred while handling event 'recipes': Wrapped java.lang.ArithmeticException (server_scripts:atlas_compat.js#58) [02:55:49] [ERR ] Error occurred while handling event 'recipes': Wrapped java.lang.ArithmeticException (server_scripts:atlas.js#577) There appears to be a conflict with the randomium:duplicate recipe and KubeJS's replaceInput function. An ArithmeticException error points to the first replaceInput event in any given script at launch, with multiple individual instances if there are several scripts.

MehVahdJukaar commented 2 years ago

Could you give more info? I'm not familiar with kubeJs

MrZora commented 2 years ago

Sorry for the late reply! I was using KubeJS to load a variety of recipe changes in a personal modpack and encountered this issue when running compatibility scripts to unify mod metal inputs. The above errors went away when Randomium was disabled, and I am unsure of the reasons why.

MehVahdJukaar commented 2 years ago

That's weird. Are you specifically trying to change the randomium recipe? I'm not doing anything special with that one report this to kube js since it is a problem with that mod