NOISSUE detect when user loses entitlements

This commit is contained in:
Petr Mrázek 2021-12-30 17:19:41 +01:00
parent 4063a496d7
commit a6e59cb4f4

View File

@ -226,6 +226,8 @@ bool parseMinecraftEntitlements(QByteArray & data, MinecraftEntitlement &output)
}
auto obj = doc.object();
output.canPlayMinecraft = false;
output.ownsMinecraft = true;
auto itemsArray = obj.value("items").toArray();
for(auto item: itemsArray) {