Update go_home.json

minecraft only allows an array of events. just a string throws an error
This commit is contained in:
ChibiMango
2022-07-26 14:44:40 +01:00
parent 72af63af1f
commit 6a1f65abeb

View File

@@ -22,12 +22,18 @@
"on_home": {
"description": "Event(s) to run when this mob gets home.",
"title": "On Home",
"oneOf": [{ "$ref": "../types/trigger.json" }, { "type": "array", "items": { "$ref": "../types/trigger.json" } }]
"type": "array",
"items": {
"$ref": "../types/trigger.json"
}
},
"on_failed": {
"title": "On Failed",
"description": "Event(s) to run when this goal fails.",
"oneOf": [{ "$ref": "../types/event.json" }, { "type": "array", "items": { "$ref": "../types/event.json" } }]
"type": "array",
"items": {
"$ref": "../types/event.json"
}
},
"calculate_new_path_radius": {
"title": "Calculate New Path Radius",