From a7e2fb48ba26360881143cfc1da3179575ae0dbe Mon Sep 17 00:00:00 2001 From: Vendicated Date: Mon, 3 Apr 2023 02:36:54 +0200 Subject: fix oopsie --- src/api/SettingsStore.ts | 2 -- 1 file changed, 2 deletions(-) diff --git a/src/api/SettingsStore.ts b/src/api/SettingsStore.ts index 59c78ed..a5a0402 100644 --- a/src/api/SettingsStore.ts +++ b/src/api/SettingsStore.ts @@ -65,7 +65,5 @@ export function getSettingStore(group: string, name: string): Setting(group: string, name: string) { - if (!Settings.plugins.SettingsStoreAPI.enabled) throw new Error("Cannot use SettingsStoreAPI without setting as dependency."); - return proxyLazy(() => getSettingStore(group, name)); } -- cgit