Skip to content

Commit

Permalink
fix
Browse files Browse the repository at this point in the history
  • Loading branch information
lesleyrs committed Jul 17, 2024
1 parent 5b29523 commit a1d9e13
Showing 1 changed file with 5 additions and 1 deletion.
6 changes: 5 additions & 1 deletion src/js/client.ts
Original file line number Diff line number Diff line change
Expand Up @@ -723,7 +723,11 @@ export abstract class Client extends GameShell {
await this.showProgress(progress, `Requesting ${displayName}`);

try {
data = await downloadUrl(`${Client.httpAddress}/${filename}${crc}`);
if (GameShell.getParameter('world') !== '999') {
data = await downloadUrl(`${Client.httpAddress}/${filename}${crc}`);
} else {
data = await downloadUrl(`data/pack/client/${filename}`);
}
} catch (e) {
data = undefined;
for (let i: number = retry; i > 0; i--) {
Expand Down

0 comments on commit a1d9e13

Please sign in to comment.