[1.18.2] recipes.custom causes inability to join servers.
V2LenKagamine opened this issue ยท 1 comments
Minecraft Version
1.18.2
KubeJS Version
1802.5.5-build.567
Rhino Version
1802.2.1-build.255
Architectury Version
4.10.88-forge
Forge/Fabric Version
Forge 40.2.1
Describe your issue
Attempting to add any .custom
recipes using KubeJS causes any clients to be unable to connect to a server with an array index out of bounds error. Index length and index will be equal to the number of .custom
recipes attempted to be added.
Note this issue only prevents you from joining an effected server. Singleplayer and opening lan are infact un-effected.
Reproduction Steps: (Steps I personally have tested, may be reproducable with JUST kubejs/dependencies.)
1: Install additional mod: Compact Crafting
2: Make some recipe involving it
3: Install and set up a server instance and put in the script for the recipe
4: Attempt to join server, note error
5: Disable kubejs script, restart/reload
6: Attempt to join server, note no disconnect.
If I had to guess, theres some problem with an index for custom recipe counters that start at 1 instead of 0?
Crash report/logs
No response