From 7144d3c6d188c7caa03084009dd9856c405c3375 Mon Sep 17 00:00:00 2001 From: DaanV2 Date: Thu, 13 May 2021 13:51:13 +0200 Subject: [PATCH] Formatted --- .../1.8.0/components/minecraft.spell_effects.json | 15 +++++++++------ 1 file changed, 9 insertions(+), 6 deletions(-) diff --git a/source/behavior/entities/1.8.0/components/minecraft.spell_effects.json b/source/behavior/entities/1.8.0/components/minecraft.spell_effects.json index d05014f0..d3bfaff5 100644 --- a/source/behavior/entities/1.8.0/components/minecraft.spell_effects.json +++ b/source/behavior/entities/1.8.0/components/minecraft.spell_effects.json @@ -19,12 +19,15 @@ "title": "Add Effects" }, "remove_effects": { - "type": ["array", "string"], - "description": "List of identifiers of effects to be removed from this entity after adding this component", - "items": { - "type": ["string"] - }, - "title": "Remove Effects" + "title": "Remove Effects", + "description": "List of identifiers of effects to be removed from this entity after adding this component", + "oneOf": [ + { + "type": "array", + "items": { "type": ["string"], "title": "Spell effect id", "description": "identifier of the effect to be removed from this entity after adding this component" } + }, + { "type": "string" } + ] } } }