From db52dd6cf37b9e0162fa91d40450d448afbb6585 Mon Sep 17 00:00:00 2001 From: Lucas Dower <lucasjdower@gmail.com> Date: Wed, 1 Mar 2023 18:46:27 +0000 Subject: [PATCH] Added Minecraft version indicator --- src/config.ts | 3 ++- src/ui/elements/header_element.ts | 2 +- 2 files changed, 3 insertions(+), 2 deletions(-) diff --git a/src/config.ts b/src/config.ts index 73a9b87..9f59491 100644 --- a/src/config.ts +++ b/src/config.ts @@ -11,8 +11,9 @@ export class AppConfig { public readonly RELEASE_MODE = true; public readonly MAJOR_VERSION = 0; public readonly MINOR_VERSION = 7; - public readonly HOTFIX_VERSION = 7; + public readonly HOTFIX_VERSION = 8; public readonly VERSION_TYPE: 'd' | 'a' | 'r' = 'r'; // dev, alpha, or release build + public readonly MINECRAFT_VERSION = '1.19.3'; public readonly VOXEL_BUFFER_CHUNK_SIZE = 5_000; public readonly AMBIENT_OCCLUSION_OVERRIDE_CORNER = true; diff --git a/src/ui/elements/header_element.ts b/src/ui/elements/header_element.ts index 0a1fcfb..0d6c0dd 100644 --- a/src/ui/elements/header_element.ts +++ b/src/ui/elements/header_element.ts @@ -55,7 +55,7 @@ export class HeaderUIElement extends BaseUIElement<HTMLDivElement> { ObjToSchematic </div> <div class="row-item subtitle"> - v${AppConfig.Get.MAJOR_VERSION}.${AppConfig.Get.MINOR_VERSION}.${AppConfig.Get.HOTFIX_VERSION}${AppConfig.Get.VERSION_TYPE} + v${AppConfig.Get.MAJOR_VERSION}.${AppConfig.Get.MINOR_VERSION}.${AppConfig.Get.HOTFIX_VERSION}${AppConfig.Get.VERSION_TYPE} • Minecraft ${AppConfig.Get.MINECRAFT_VERSION} </div> </div> </div>