From 8941a2bbb7323fa3bdddecbff2586da4d3737088 Mon Sep 17 00:00:00 2001 From: thororen1234 <78185467+thororen1234@users.noreply.github.com> Date: Mon, 9 Dec 2024 13:43:40 -0500 Subject: [PATCH] Reporter Fix --- src/plugins/fakeNitro/index.tsx | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/plugins/fakeNitro/index.tsx b/src/plugins/fakeNitro/index.tsx index 6fe8adbf..88a2c0d7 100644 --- a/src/plugins/fakeNitro/index.tsx +++ b/src/plugins/fakeNitro/index.tsx @@ -31,7 +31,7 @@ import { applyPalette, GIFEncoder, quantize } from "gifenc"; import type { ReactElement, ReactNode } from "react"; let premiumType; -if (Settings.plugins.NoNitroUpsell.enabled) { +if (Settings.plugins?.NoNitroUpsell?.enabled) { // @ts-ignore premiumType = UserStore?.getCurrentUser()?._realPremiumType ?? UserStore?.getCurrentUser()?.premiumType ?? 0; } else {