mirror of
https://github.com/Equicord/Equicord.git
synced 2025-01-19 05:43:35 -05:00
Remove Predicate for NoNitroUpsell
I forgot it logs it when its off
This commit is contained in:
parent
e59763c9d2
commit
1e369724fb
1 changed files with 1 additions and 2 deletions
|
@ -4,7 +4,7 @@
|
||||||
* SPDX-License-Identifier: GPL-3.0-or-later
|
* SPDX-License-Identifier: GPL-3.0-or-later
|
||||||
*/
|
*/
|
||||||
|
|
||||||
import { definePluginSettings, Settings } from "@api/Settings";
|
import { definePluginSettings } from "@api/Settings";
|
||||||
import { Devs } from "@utils/constants";
|
import { Devs } from "@utils/constants";
|
||||||
import definePlugin, { OptionType } from "@utils/types";
|
import definePlugin, { OptionType } from "@utils/types";
|
||||||
|
|
||||||
|
@ -105,7 +105,6 @@ export default definePlugin({
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
find: "ProductCatalog",
|
find: "ProductCatalog",
|
||||||
predicate: () => Settings.plugins.NoNitroUpsell.enabled,
|
|
||||||
replacement: {
|
replacement: {
|
||||||
match: /\i\.warn\("Cannot find the corresponding SKU to the user's premium type "\.concat\(\i\.premiumType\)\),/,
|
match: /\i\.warn\("Cannot find the corresponding SKU to the user's premium type "\.concat\(\i\.premiumType\)\),/,
|
||||||
replace: ""
|
replace: ""
|
||||||
|
|
Loading…
Reference in a new issue