mirror of
https://github.com/artegoser/pimi-launcher-core.git
synced 2024-11-22 12:16:21 +03:00
Custom version name was not appearing on F3 screen (#93)
When launching custom versions from vanilla launcher like Fabric, OptiFine you'll notice it'll show up as Minecraft 1.8.9 (OptFine_FOO_BARR/vanilla) at top of the debug menu. MCLC was using options.number instead of options.custom and it was causing that problem.
This commit is contained in:
parent
b59a4b74df
commit
0f28669e08
1 changed files with 1 additions and 1 deletions
|
@ -568,7 +568,7 @@ class Handler {
|
||||||
'${user_properties}': this.options.authorization.user_properties,
|
'${user_properties}': this.options.authorization.user_properties,
|
||||||
'${user_type}': this.options.authorization.meta.type,
|
'${user_type}': this.options.authorization.meta.type,
|
||||||
'${version_name}': this.options.version.number,
|
'${version_name}': this.options.version.number,
|
||||||
'${assets_index_name}': this.version.assetIndex.id,
|
'${assets_index_name}': this.options.version.custom || this.options.version.number,
|
||||||
'${game_directory}': this.options.overrides.gameDirectory || this.options.root,
|
'${game_directory}': this.options.overrides.gameDirectory || this.options.root,
|
||||||
'${assets_root}': assetPath,
|
'${assets_root}': assetPath,
|
||||||
'${game_assets}': assetPath,
|
'${game_assets}': assetPath,
|
||||||
|
|
Loading…
Add table
Reference in a new issue