From 33223669b14ec38f185c7bdfd566f7aa771c63bb Mon Sep 17 00:00:00 2001 From: DaanV2 Date: Wed, 20 Jul 2022 21:07:36 +0200 Subject: [PATCH] Fixing --- .../behaviors/go_and_give_items_to_noteblock.json | 10 ++++++++-- .../format/behaviors/go_and_give_items_to_owner.json | 9 ++++++++- 2 files changed, 16 insertions(+), 3 deletions(-) diff --git a/source/behavior/entities/format/behaviors/go_and_give_items_to_noteblock.json b/source/behavior/entities/format/behaviors/go_and_give_items_to_noteblock.json index c0a67f31..617c1965 100644 --- a/source/behavior/entities/format/behaviors/go_and_give_items_to_noteblock.json +++ b/source/behavior/entities/format/behaviors/go_and_give_items_to_noteblock.json @@ -16,8 +16,14 @@ }, "on_item_throw": { "title": "on item throw", - "$ref": "../types/trigger.json", - "description": "Event(s) to run when this mob throws items." + "description": "Event(s) to run when this mob throws items.", + "oneOf": [ + { "$ref": "../types/trigger.json" }, + { + "type": "array", + "items": { "$ref": "../types/trigger.json" } + } + ] }, "reach_block_distance": { "title": "reach block distance", diff --git a/source/behavior/entities/format/behaviors/go_and_give_items_to_owner.json b/source/behavior/entities/format/behaviors/go_and_give_items_to_owner.json index dbc029ec..0c5682c2 100644 --- a/source/behavior/entities/format/behaviors/go_and_give_items_to_owner.json +++ b/source/behavior/entities/format/behaviors/go_and_give_items_to_owner.json @@ -11,7 +11,14 @@ "on_item_throw": { "title": "on item throw", "$ref": "../types/trigger.json", - "description": "Event(s) to run when this mob throws items." + "description": "Event(s) to run when this mob throws items.", + "oneOf": [ + { "$ref": "../types/trigger.json" }, + { + "type": "array", + "items": { "$ref": "../types/trigger.json" } + } + ] }, "reach_mob_distance": { "title": "reach mob distance",