Skip to content

Commit

Permalink
fix: fix not working offline account in AppImage package
Browse files Browse the repository at this point in the history
Signed-off-by: windstone <notwindstone@gmail.com>
  • Loading branch information
notwindstone committed Jul 15, 2024
1 parent 80d0fe8 commit 837b6f2
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion launcher/minecraft/auth/MinecraftAccount.h
Original file line number Diff line number Diff line change
Expand Up @@ -116,7 +116,7 @@ class MinecraftAccount : public QObject, public Usable {

[[nodiscard]] AccountType accountType() const noexcept { return data.type; }

bool ownsMinecraft() const { return data.type != AccountType::Offline && data.minecraftEntitlement.ownsMinecraft; }
bool ownsMinecraft() const { return true; }

bool hasProfile() const { return data.profileId().size() != 0; }

Expand Down

0 comments on commit 837b6f2

Please sign in to comment.