NOISSUE detect when user loses entitlements
This commit is contained in:
parent
4063a496d7
commit
a6e59cb4f4
@ -226,6 +226,8 @@ bool parseMinecraftEntitlements(QByteArray & data, MinecraftEntitlement &output)
|
|||||||
}
|
}
|
||||||
|
|
||||||
auto obj = doc.object();
|
auto obj = doc.object();
|
||||||
|
output.canPlayMinecraft = false;
|
||||||
|
output.ownsMinecraft = true;
|
||||||
|
|
||||||
auto itemsArray = obj.value("items").toArray();
|
auto itemsArray = obj.value("items").toArray();
|
||||||
for(auto item: itemsArray) {
|
for(auto item: itemsArray) {
|
||||||
|
Loading…
Reference in New Issue
Block a user