Skip to content

Commit

Permalink
Fix set_fireworks list operation
Browse files Browse the repository at this point in the history
  • Loading branch information
misode committed May 3, 2024
1 parent 7ef13d5 commit 6d2fceb
Show file tree
Hide file tree
Showing 5 changed files with 6 additions and 6 deletions.
2 changes: 1 addition & 1 deletion java/1.20.5/package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "@mcschema/java-1.20.5",
"version": "0.0.26",
"version": "0.0.27",
"description": "Schemas for Java Edition 1.20.5",
"main": "lib/index.js",
"types": "lib/index.d.ts",
Expand Down
2 changes: 1 addition & 1 deletion java/1.20.5/src/schemas/Common.ts
Original file line number Diff line number Diff line change
Expand Up @@ -520,7 +520,7 @@ export function initCommonSchemas(schemas: SchemaRegistry, collections: Collecti
})

const ListOperation = ({ node, maxLength }: { node: INode, maxLength: number }) => ObjectNode({
values: node,
values: ListNode(node),
...ListOperationFields({ maxLength })
}, { context: 'list_operation'})

Expand Down
2 changes: 1 addition & 1 deletion java/1.21/package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "@mcschema/java-1.21",
"version": "0.0.7",
"version": "0.0.8",
"description": "Schemas for Java Edition 1.21",
"main": "lib/index.js",
"types": "lib/index.d.ts",
Expand Down
2 changes: 1 addition & 1 deletion java/1.21/src/schemas/Common.ts
Original file line number Diff line number Diff line change
Expand Up @@ -649,7 +649,7 @@ export function initCommonSchemas(schemas: SchemaRegistry, collections: Collecti
})

const ListOperation = ({ node, maxLength }: { node: INode, maxLength: number }) => ObjectNode({
values: node,
values: ListNode(node),
...ListOperationFields({ maxLength })
}, { context: 'list_operation'})

Expand Down
4 changes: 2 additions & 2 deletions package-lock.json

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

0 comments on commit 6d2fceb

Please sign in to comment.