diff --git a/source/behavior/recipes/types/base types/unlock.json b/source/behavior/recipes/types/base types/unlock.json index eff07084..e70dfbe0 100644 --- a/source/behavior/recipes/types/base types/unlock.json +++ b/source/behavior/recipes/types/base types/unlock.json @@ -1,22 +1,10 @@ { - "title": "Item", + "title": "Unlock", "$id": "blockception.minecraft.behavior.recipe.unlock", "description": "Unlock achievement", - "type": "object", - "required": ["context"], "definitions": { "item": { "oneOf": [ - { - "required": ["context"], - "properties": { - "context": { - "type": "string", - "title": "Context", - "description": "The context of the achievement to unlock" - } - } - }, { "required": ["item"], "properties": { @@ -50,7 +38,14 @@ "oneOf": [ { "type": "object", - "$ref": "#/definitions/item" + "required": ["context"], + "properties": { + "context": { + "type": "string", + "title": "Context", + "description": "The context of the achievement to unlock" + } + } }, { "type": "array", @@ -59,4 +54,4 @@ } } ] -} +} \ No newline at end of file