Skip to content

Commit

Permalink
- Fix recipe unlocking (#234)
Browse files Browse the repository at this point in the history
  • Loading branch information
Xterionix committed Mar 20, 2024
1 parent c3516b0 commit d916540
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 d916540

Please sign in to comment.