diff --git a/config.json b/config.json index 46c029b1..4623b4dc 100644 --- a/config.json +++ b/config.json @@ -2,5 +2,6 @@ "defaultHost": "95.111.249.143", "defaultHostPort": 10000, "defaultProxy": "", - "defaultProxyPort": 0 + "defaultProxyPort": 0, + "defaultVersion": "1.17.1" } diff --git a/lib/menus/play_screen.js b/lib/menus/play_screen.js index e8d24ee6..28d47304 100644 --- a/lib/menus/play_screen.js +++ b/lib/menus/play_screen.js @@ -76,6 +76,7 @@ class PlayScreen extends LitElement { this.serverport = config.defaultHostPort ?? 25565 this.proxy = config.defaultProxy this.proxyport = !config.defaultProxy && !config.defaultProxyPort ? '' : config.defaultProxyPort ?? 443 + this.version = config.defaultVersion }) }