From 6d2fceb3ad0cd74889c5eb617eda52f328aeca4f Mon Sep 17 00:00:00 2001 From: Misode Date: Sat, 4 May 2024 01:20:16 +0200 Subject: [PATCH] Fix set_fireworks list operation --- java/1.20.5/package.json | 2 +- java/1.20.5/src/schemas/Common.ts | 2 +- java/1.21/package.json | 2 +- java/1.21/src/schemas/Common.ts | 2 +- package-lock.json | 4 ++-- 5 files changed, 6 insertions(+), 6 deletions(-) diff --git a/java/1.20.5/package.json b/java/1.20.5/package.json index 0faad4a..a6d249b 100644 --- a/java/1.20.5/package.json +++ b/java/1.20.5/package.json @@ -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", diff --git a/java/1.20.5/src/schemas/Common.ts b/java/1.20.5/src/schemas/Common.ts index c71b0c3..e50869e 100644 --- a/java/1.20.5/src/schemas/Common.ts +++ b/java/1.20.5/src/schemas/Common.ts @@ -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'}) diff --git a/java/1.21/package.json b/java/1.21/package.json index f0c5888..24cb476 100644 --- a/java/1.21/package.json +++ b/java/1.21/package.json @@ -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", diff --git a/java/1.21/src/schemas/Common.ts b/java/1.21/src/schemas/Common.ts index 002ea31..7b82452 100644 --- a/java/1.21/src/schemas/Common.ts +++ b/java/1.21/src/schemas/Common.ts @@ -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'}) diff --git a/package-lock.json b/package-lock.json index 9b17387..9ff8eb1 100644 --- a/package-lock.json +++ b/package-lock.json @@ -115,7 +115,7 @@ }, "java/1.20.5": { "name": "@mcschema/java-1.20.5", - "version": "0.0.26", + "version": "0.0.27", "license": "MIT", "dependencies": { "@mcschema/core": "^0.13.0" @@ -123,7 +123,7 @@ }, "java/1.21": { "name": "@mcschema/java-1.21", - "version": "0.0.7", + "version": "0.0.8", "license": "MIT", "dependencies": { "@mcschema/core": "^0.13.0"