Skip to content

Commit

Permalink
fix offline no save data
Browse files Browse the repository at this point in the history
  • Loading branch information
luuxis committed Aug 31, 2023
1 parent 2757bdf commit 30f0697
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion src/assets/js/launcher.js
Original file line number Diff line number Diff line change
Expand Up @@ -114,7 +114,7 @@ class Launcher {
addAccount(refresh_accounts);
if (account.uuid === selectaccount) accountSelect(refresh.uuid)
} else if (account.meta.type === 'Mojang') {
if (account.meta.offline) {
if (!account.meta.online) {
console.log(`Initializing Crack account ${account.name}...`);
addAccount(account);
if (account.uuid === selectaccount) accountSelect(account.uuid)
Expand Down
2 changes: 1 addition & 1 deletion src/assets/js/panels/login.js
Original file line number Diff line number Diff line change
Expand Up @@ -248,7 +248,7 @@ class Login {
user_properties: account_connect.user_properties,
meta: {
type: account_connect.meta.type,
offline: account_connect.meta.offline
online: account_connect.meta.online
}
}

Expand Down

0 comments on commit 30f0697

Please sign in to comment.