Skip to content

Commit

Permalink
- Fix recipe unlocking
Browse files Browse the repository at this point in the history
  • Loading branch information
Xterionix committed Mar 20, 2024
1 parent c3516b0 commit 9a10ef4
Showing 1 changed file with 10 additions and 15 deletions.
25 changes: 10 additions & 15 deletions source/behavior/recipes/types/base types/unlock.json
Original file line number Diff line number Diff line change
@@ -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": {
Expand Down Expand Up @@ -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",
Expand All @@ -59,4 +54,4 @@
}
}
]
}
}

0 comments on commit 9a10ef4

Please sign in to comment.