SnaveSutit / origins-mod-json-schemas

MIT License
1 stars 1 forks source link

[BUG] Global Power Set's "powers" field asks for Power Json #13

Closed ThatRobin closed 5 months ago

ThatRobin commented 5 months ago

Describe the bug When making a global power, the schema reports and array of identifiers as the wrong type for the field. instead suggesting it should be an array of json objects, where the json object is a power. The powers array in global power sets should function identically to that of an origin's powers array.

To Reproduce Steps to reproduce the behavior:

  1. Make a datapack that features a global power set.
  2. Copy any example from the wiki
  3. The schema will say that it is an Incorrect type.

Expected behavior The schema should validate the identifiers correctly, and not suggest the use of Power Json Objects

Screenshots image image