This commit is contained in:
Mirco Wittrien 2020-03-14 18:36:14 +01:00
parent fc0469cc5e
commit 7f63487bb6
2 changed files with 3 additions and 4 deletions

View File

@ -3822,9 +3822,8 @@
return null;
};
BDFDB.BDUtils.getSettings = function (key) {
if (!window.settingsCookie) return null;
if (!key) return window.settingsCookie;
return window.settingsCookie[key];
if (key) return BdApi.isSettingEnabled(key);
else return BDFDB.ReactUtils.getValue(BdApi.getBDData("settings"), `${BDFDB.DiscordUtils.getBuilt()}.settings`);
};
BDFDB.BDUtils.isAutoLoadEnabled = function () {
return BDFDB.BDUtils.getSettings("fork-ps-5") === true || BDFDB.BDUtils.isPluginEnabled("Restart-No-More") || BDFDB.BDUtils.isPluginEnabled("Restart No More");

File diff suppressed because one or more lines are too long