Skip to content

Commit

Permalink
fix
Browse files Browse the repository at this point in the history
  • Loading branch information
lesleyrs committed Jul 30, 2024
1 parent 3d528b3 commit c81f0b5
Showing 1 changed file with 5 additions and 4 deletions.
9 changes: 5 additions & 4 deletions src/js/configuration.ts
Original file line number Diff line number Diff line change
Expand Up @@ -53,11 +53,12 @@ function method(): void {
function localConfiguration(): void {
if (+GameShell.getParameter('world') >= 998) {
Client.httpAddress = 'data/pack/client';
} else {
Client.serverAddress = 'http://localhost';
Client.httpAddress = 'http://localhost';
Client.portOffset = 0;
return;
}

Client.serverAddress = 'http://localhost';
Client.httpAddress = 'http://localhost';
Client.portOffset = 0;
}

async function liveConfiguration(secured: boolean): Promise<void> {
Expand Down

0 comments on commit c81f0b5

Please sign in to comment.