mirror of
https://github.com/PrismLauncher/PrismLauncher.git
synced 2025-06-13 13:47:46 +02:00
improve login account checking
Signed-off-by: Trial97 <alexandru.tripon97@gmail.com>
This commit is contained in:
@ -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; }
|
||||
|
||||
|
Reference in New Issue
Block a user