aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorVendicated <vendicated@riseup.net>2023-03-26 01:27:01 +0100
committerVendicated <vendicated@riseup.net>2023-03-26 01:27:01 +0100
commit041a13c9d305b95c9a48f02487db6804e2cf2fe2 (patch)
treef5312894c5fa332736ae089811c5b53bc0a143de
parent24aa90bd9cf20b5c0d668552f9fffec942db3948 (diff)
downloadVencord-041a13c9d305b95c9a48f02487db6804e2cf2fe2.tar.gz
Vencord-041a13c9d305b95c9a48f02487db6804e2cf2fe2.tar.bz2
Vencord-041a13c9d305b95c9a48f02487db6804e2cf2fe2.zip
DevCompanion: Always use original
-rw-r--r--src/plugins/devCompanion.dev.tsx3
1 files changed, 2 insertions, 1 deletions
diff --git a/src/plugins/devCompanion.dev.tsx b/src/plugins/devCompanion.dev.tsx
index 5c3c58e..b9a7e4d 100644
--- a/src/plugins/devCompanion.dev.tsx
+++ b/src/plugins/devCompanion.dev.tsx
@@ -158,7 +158,8 @@ function initWs(isManual = false) {
if (keys.length !== 1)
return reply("Expected exactly one 'find' matches, found " + keys.length);
- let src = String(candidates[keys[0]]);
+ const mod = candidates[keys[0]];
+ let src = String(mod.original ?? mod);
let i = 0;