Hotfix for AppRuntimeConstants assigning the wrong special block arrays

This commit is contained in:
Lucas Dower 2023-01-24 23:14:56 +00:00
parent 86a23ea2dd
commit 6312bb2b56
No known key found for this signature in database
GPG Key ID: B3EE6B8499593605

View File

@ -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;
}
}