Skip to content

Commit

Permalink
Default version in config (#261)
Browse files Browse the repository at this point in the history
* Update play_screen.js

* Update config.json
  • Loading branch information
rom1504 authored Dec 24, 2021
1 parent 29e54ee commit 8cbc95b
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 1 deletion.
3 changes: 2 additions & 1 deletion config.json
Original file line number Diff line number Diff line change
Expand Up @@ -2,5 +2,6 @@
"defaultHost": "95.111.249.143",
"defaultHostPort": 10000,
"defaultProxy": "",
"defaultProxyPort": 0
"defaultProxyPort": 0,
"defaultVersion": "1.17.1"
}
1 change: 1 addition & 0 deletions lib/menus/play_screen.js
Original file line number Diff line number Diff line change
Expand Up @@ -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
})
}

Expand Down

0 comments on commit 8cbc95b

Please sign in to comment.