Silent Gear

Silent Gear

19M Downloads

Giving errors with kubejs

Diversion98 opened this issue ยท 1 comments

commented

Versions

Expected Behavior

Not give KubeJS errors

Hi,

I'm the developer of MHG: Cities! (link above) and i have come across a weird issue and I allready talked with the people from KubeJS about this.
Since Silent Gear 3.1.3, My scripts give 4 errors: https://pastebin.com/qEiq6gZ6.
After some investigation with the KubeJS team, these are my findings:

Erroring script 1:
script: https://pastebin.com/TdTJBMse
errors in debug.log: https://pastebin.com/PmF10MtJ
kubejs log: https://pastebin.com/966bCcys

Erroing script 2:
script: https://pastebin.com/LQyHAeTL
errors in debug.log: https://pastebin.com/xucp5K7v
kubejs log: https://pastebin.com/32jVE8Zp

One of the members said:
seems that when kubejs checks the output, silent tries to create a tool item and fails cause its too early in the load progress to have the stats ready

Steps to Reproduce the Problem

  1. install kubejs and silent gear 3.1.2+
  2. use my scripts
  3. see 4 errors ingame
commented

Your kubejs logs point to the recent gear model changes being the cause. Should be an easy enough fix.