aboutsummaryrefslogtreecommitdiff
path: root/src/modules/packages.js
diff options
context:
space:
mode:
Diffstat (limited to 'src/modules/packages.js')
-rw-r--r--src/modules/packages.js4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/modules/packages.js b/src/modules/packages.js
index 62ef21e..25416c4 100644
--- a/src/modules/packages.js
+++ b/src/modules/packages.js
@@ -217,8 +217,8 @@ packages.install = async (url, author, package_name, version) => {
for (let i = 0; i < mods_list.length; i++) {
let mod = mods_list[i];
- if (mod.ManifestName == package_name) {
- mods.remove(mod.Name);
+ if (mod.manifest_name == package_name) {
+ mods.remove(mod.name);
continue;
}
}