Update go_home.json
minecraft only allows an array of events. just a string throws an error
This commit is contained in:
@@ -22,12 +22,18 @@
|
|||||||
"on_home": {
|
"on_home": {
|
||||||
"description": "Event(s) to run when this mob gets home.",
|
"description": "Event(s) to run when this mob gets home.",
|
||||||
"title": "On 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": {
|
"on_failed": {
|
||||||
"title": "On Failed",
|
"title": "On Failed",
|
||||||
"description": "Event(s) to run when this goal fails.",
|
"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": {
|
"calculate_new_path_radius": {
|
||||||
"title": "Calculate New Path Radius",
|
"title": "Calculate New Path Radius",
|
||||||
|
|||||||
Reference in New Issue
Block a user