Modding Help error: Json type array, must be Object type?

Discussion in 'Starbound Modding' started by Tamamo89, Jun 30, 2017.

  1. Tamamo89

    Tamamo89 Pangalactic Porcupine

    Module.nodes
    Log

    Code:
    Caused by: (JsonException) Cannot call get with key on Json type array, must be Object type
    I've gone through my changes. I was told it was a {} [] mix up but i cant find one. Am I missing something, an extra pair of eyes wouid be grateful.
     
  2. IHart

    IHart Scruffy Nerf-Herder

    I think it's your targetoffset value line 1650.
    It should probably be:
    Code:
    "targetOffset": {"type": "vec2", "value", [0, 0]}
    Should we be concerned that this will be a dirty edit rather than a patch?
     
  3. Tamamo89

    Tamamo89 Pangalactic Porcupine

    you forgot a colon lol,
    And nah, it's only a complete file instead of a patch because i use the tool behavior3js.
     
  4. IHart

    IHart Scruffy Nerf-Herder

    I'm embarrassed. But did it fix the error?
     
  5. Tamamo89

    Tamamo89 Pangalactic Porcupine

    yes
     
    IHart likes this.

Share This Page