From c8577b5545e861401eb78fc1ad077f78247d177a Mon Sep 17 00:00:00 2001 From: neru Date: Mon, 13 Apr 2026 20:47:10 -0300 Subject: [PATCH] fix: remove unneeded default initiator --- src/unlocker/spoofing.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/unlocker/spoofing.cpp b/src/unlocker/spoofing.cpp index bab3e61..651ec98 100644 --- a/src/unlocker/spoofing.cpp +++ b/src/unlocker/spoofing.cpp @@ -341,7 +341,7 @@ void Spoofer::modifyCharacterData(json& js) { bool needsSpoofing = false; - if (js.value("isEntitled", false) == false) + if (js.contains("isEntitled") && js["isEntitled"] == false) { _unownedCharacters.insert(name); js["isEntitled"] = true;