diff options
author | Vendicated <vendicated@riseup.net> | 2023-03-26 01:27:01 +0100 |
---|---|---|
committer | Vendicated <vendicated@riseup.net> | 2023-03-26 01:27:01 +0100 |
commit | 041a13c9d305b95c9a48f02487db6804e2cf2fe2 (patch) | |
tree | f5312894c5fa332736ae089811c5b53bc0a143de | |
parent | 24aa90bd9cf20b5c0d668552f9fffec942db3948 (diff) | |
download | Vencord-041a13c9d305b95c9a48f02487db6804e2cf2fe2.tar.gz Vencord-041a13c9d305b95c9a48f02487db6804e2cf2fe2.tar.bz2 Vencord-041a13c9d305b95c9a48f02487db6804e2cf2fe2.zip |
DevCompanion: Always use original
-rw-r--r-- | src/plugins/devCompanion.dev.tsx | 3 |
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; |