From c132b43ab9c4ba8982cea68c8a8e737d0e6f677b Mon Sep 17 00:00:00 2001 From: DaanV2 Date: Thu, 6 May 2021 17:10:07 +0200 Subject: [PATCH] Fixing should_update_bones_and_effects_offscreen not accepting boolean values --- source/resource/entity/1.10.0/entity.json | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/source/resource/entity/1.10.0/entity.json b/source/resource/entity/1.10.0/entity.json index 3a9d99fa..0806380f 100644 --- a/source/resource/entity/1.10.0/entity.json +++ b/source/resource/entity/1.10.0/entity.json @@ -139,12 +139,12 @@ "should_update_bones_and_effects_offscreen": { "title": "Should Update Bones And Effects Offscreen", "description": "Bones and effects will still be updated if the entity is off screen if this expression returns anything other than 0.0.", - "$ref": "../../../molang/1.8.0/string.json" + "oneOf": [{ "type": "boolean" }, { "type": "string", "$ref": "../../../molang/1.8.0/string.json" }] }, "should_update_effects_offscreen": { "title": "Should Update Effects Offscreen", "description": "Effects will still be updated if the entity is off screen if this expression or `should_update_bones_and_effects_offscreen` returns anything other than 0.0.", - "$ref": "../../../molang/1.8.0/string.json" + "oneOf": [{ "type": "boolean" }, { "type": "string", "$ref": "../../../molang/1.8.0/string.json" }] }, "variables": { "title": "Variables",