Skip to content

Commit

Permalink
Change default Bedrock listen port
Browse files Browse the repository at this point in the history
  • Loading branch information
Heath123 authored Jan 15, 2021
1 parent 375fe0d commit edb9ec5
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions html/startPage/script.js
Original file line number Diff line number Diff line change
Expand Up @@ -31,7 +31,7 @@ function loadSettings (newPlatform) {
loadSetting(newPlatform + 'LastVersion', 'version', 'version', '1.16.4')
loadSetting(newPlatform + 'LastConnectAddress', 'connectAddress', 'connect-address', '127.0.0.1')
loadSetting(newPlatform + 'LastConnectPort', 'connectPort', 'connect-port', platform === 'java' ? '25565' : '19132')
loadSetting(newPlatform + 'LastListenPort', 'listenPort', 'listen-port', platform === 'java' ? '25566' : '19133')
loadSetting(newPlatform + 'LastListenPort', 'listenPort', 'listen-port', platform === 'java' ? '25566' : '19142')
}

function saveSettings (thePlatform) {
Expand Down Expand Up @@ -88,7 +88,7 @@ window.startProxy = function (event) {
connectAddress = (connectAddress === '') ? '127.0.0.1' : connectAddress
if (platform === 'bedrock') {
connectPort = (connectPort === '') ? '19132' : connectPort
listenPort = (listenPort === '') ? '19133' : listenPort
listenPort = (listenPort === '') ? '19142' : listenPort
} else {
connectPort = (connectPort === '') ? '25565' : connectPort
listenPort = (listenPort === '') ? '25566' : listenPort
Expand Down

0 comments on commit edb9ec5

Please sign in to comment.