diff --git a/java/1.21.2/package.json b/java/1.21.2/package.json index fc50bd7..510a876 100644 --- a/java/1.21.2/package.json +++ b/java/1.21.2/package.json @@ -1,6 +1,6 @@ { "name": "@mcschema/java-1.21.2", - "version": "0.0.6", + "version": "0.0.8", "description": "Schemas for Java Edition 1.21.2", "main": "lib/index.js", "types": "lib/index.d.ts", diff --git a/java/1.21.2/src/schemas/Common.ts b/java/1.21.2/src/schemas/Common.ts index 52ae09c..7ca4e5a 100644 --- a/java/1.21.2/src/schemas/Common.ts +++ b/java/1.21.2/src/schemas/Common.ts @@ -984,7 +984,7 @@ export function initCommonSchemas(schemas: SchemaRegistry, collections: Collecti } const res: NestedNodeChildren = {} collections.get('loot_function_type').forEach(f => { - res[f] = {...cases[f], ...conditions } + res[f] = {...cases[f], ...(f === 'minecraft:sequence' ? {} : conditions) } }) return res } diff --git a/package-lock.json b/package-lock.json index 1854e17..3fcedce 100644 --- a/package-lock.json +++ b/package-lock.json @@ -131,7 +131,7 @@ }, "java/1.21.2": { "name": "@mcschema/java-1.21.2", - "version": "0.0.6", + "version": "0.0.8", "license": "MIT", "dependencies": { "@mcschema/core": "^0.13.0"