- Fix recipe unlocking (#234)

This commit is contained in:
Xterionix
2024-03-20 21:59:02 +05:00
committed by GitHub
parent c3516b06cf
commit d916540fc5

View File

@@ -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 @@
}
}
]
}
}