From 6312bb2b5663cbc4d596cb1398a97ee5c9705ed4 Mon Sep 17 00:00:00 2001 From: Lucas Dower Date: Tue, 24 Jan 2023 23:14:56 +0000 Subject: [PATCH] Hotfix for AppRuntimeConstants assigning the wrong special block arrays --- src/constants.ts | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/constants.ts b/src/constants.ts index f8e8bb3..5f214b7 100644 --- a/src/constants.ts +++ b/src/constants.ts @@ -53,9 +53,9 @@ export class AppRuntimeConstants { this.TRANSPARENT_BLOCKS = JSON.parse(transparentBlocksString).transparent_blocks; const emissiveBlocksString = fs.readFileSync(PathUtil.join(AppPaths.Get.resources, 'emissive_blocks.json'), 'utf-8'); - this.GRASS_LIKE_BLOCKS = JSON.parse(emissiveBlocksString).emissive_blocks; + this.EMISSIVE_BLOCKS = JSON.parse(emissiveBlocksString).emissive_blocks; const grassLikeBlocksString = fs.readFileSync(PathUtil.join(AppPaths.Get.resources, 'grass_like_blocks.json'), 'utf-8'); - this.EMISSIVE_BLOCKS = JSON.parse(grassLikeBlocksString).grass_like_blocks; + this.GRASS_LIKE_BLOCKS = JSON.parse(grassLikeBlocksString).grass_like_blocks; } }