improve login account checking
Signed-off-by: Trial97 <alexandru.tripon97@gmail.com>
This commit is contained in:
parent
31d0cad377
commit
2b949a8059
5 changed files with 2 additions and 28 deletions
|
@ -116,7 +116,7 @@ class MinecraftAccount : public QObject, public Usable {
|
|||
|
||||
[[nodiscard]] AccountType accountType() const noexcept { return data.type; }
|
||||
|
||||
bool ownsMinecraft() const { return data.minecraftEntitlement.ownsMinecraft; }
|
||||
bool ownsMinecraft() const { return data.type != AccountType::Offline && data.minecraftEntitlement.ownsMinecraft; }
|
||||
|
||||
bool hasProfile() const { return data.profileId().size() != 0; }
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue