From 9fc22eeab83e41cedb2fc1bbb225d4d3368280bc Mon Sep 17 00:00:00 2001 From: extremeheat Date: Sun, 13 Aug 2023 18:19:16 -0400 Subject: [PATCH] Sync itemDrop object types in blockLoot_schema and entityLoot_schema (#753) * Sync itemDrop object types in blockLoot_schema and entityLoot_schema * fix --- schemas/blockLoot_schema.json | 2 +- schemas/entityLoot_schema.json | 7 +++++-- 2 files changed, 6 insertions(+), 3 deletions(-) diff --git a/schemas/blockLoot_schema.json b/schemas/blockLoot_schema.json index f1e006d13..d93b752cf 100644 --- a/schemas/blockLoot_schema.json +++ b/schemas/blockLoot_schema.json @@ -20,7 +20,7 @@ "type": "array", "uniqueItems": true, "items": { - "title": "itemDrop", + "title": "blockItemDrop", "type": "object", "properties": { "item": { diff --git a/schemas/entityLoot_schema.json b/schemas/entityLoot_schema.json index 8c7808f8f..5b3a4942e 100644 --- a/schemas/entityLoot_schema.json +++ b/schemas/entityLoot_schema.json @@ -16,7 +16,7 @@ "type": "array", "uniqueItems": true, "items": { - "title": "itemDrop", + "title": "entityItemDrop", "type": "object", "properties": { "item": { @@ -35,7 +35,10 @@ }, "stackSizeRange": { "description": "The min/max of number of items in this item drop stack", - "type": "array" + "type": "array", + "items": { + "type": ["number", "null"] + } }, "playerKill": { "description": "If a player killer is required",