From 7253bf8f725b0068147aba9a6ba1a3b38d57c990 Mon Sep 17 00:00:00 2001 From: DaanV2 Date: Fri, 8 Oct 2021 13:29:25 +0200 Subject: [PATCH] Fixing json errors --- source/behavior/entities/format/behaviors/snacking.json | 2 +- source/behavior/entities/format/components/explode.json | 2 -- source/behavior/entities/format/components/genetics.json | 2 +- 3 files changed, 2 insertions(+), 4 deletions(-) diff --git a/source/behavior/entities/format/behaviors/snacking.json b/source/behavior/entities/format/behaviors/snacking.json index 2989626c..a0ff0403 100644 --- a/source/behavior/entities/format/behaviors/snacking.json +++ b/source/behavior/entities/format/behaviors/snacking.json @@ -29,7 +29,7 @@ }, "snacking_stop_chance": { "type": "number", - "default":, + "description": "This is the chance that the mob will stop snacking, from 0 to 1", "title": "Snacking Stop Chance" } diff --git a/source/behavior/entities/format/components/explode.json b/source/behavior/entities/format/components/explode.json index 45928723..41428aa0 100644 --- a/source/behavior/entities/format/components/explode.json +++ b/source/behavior/entities/format/components/explode.json @@ -4,7 +4,6 @@ "title": "Explode", "additionalProperties": false, "description": "Defines how the entity explodes.", - "properties": { "breaks_blocks": { "type": "boolean", @@ -44,7 +43,6 @@ }, "max_resistance": { "type": "number", - "default":, "description": "A blocks explosion resistance will be capped at this value when an explosion occurs.", "title": "Maximum Resistance" }, diff --git a/source/behavior/entities/format/components/genetics.json b/source/behavior/entities/format/components/genetics.json index 4b8e37bd..6a4c566c 100644 --- a/source/behavior/entities/format/components/genetics.json +++ b/source/behavior/entities/format/components/genetics.json @@ -34,7 +34,7 @@ "properties": { "mutation_rate": { "type": "number", - "default":, + "description": "Chance that an allele will be replaced with a random one instead of the parent's allele during birth.", "title": "Mutation Rate" },