From 41316bafb9619887f6766d022acf5811bc962051 Mon Sep 17 00:00:00 2001 From: thororen1234 <78185467+thororen1234@users.noreply.github.com> Date: Wed, 31 Dec 2025 21:31:40 -0500 Subject: [PATCH] CursorBuddy: Fix Issues --- src/plugins/cursorBuddy/index.tsx | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) diff --git a/src/plugins/cursorBuddy/index.tsx b/src/plugins/cursorBuddy/index.tsx index 4269475e3..33429b2d2 100644 --- a/src/plugins/cursorBuddy/index.tsx +++ b/src/plugins/cursorBuddy/index.tsx @@ -99,11 +99,13 @@ const settings = definePluginSettings({ }); function unload() { - if (settings.store.buddy === "oneko") document.getElementById("oneko")?.remove(); - if (settings.store.buddy === "fathorse") document.getElementById("fathorse")?.remove(); + document.getElementById("oneko")?.remove(); + document.getElementById("fathorse")?.remove(); } function load() { + unload(); + switch (settings.store.buddy) { case "oneko": { fetch(ONEKO_SCRIPT)