We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 5e32936 commit a468354Copy full SHA for a468354
src/main/java/org/hydev/mcpm/client/export/ImportResult.java
@@ -31,6 +31,10 @@ public ImportResult(List<InstallResult> installResults) {
31
// Code for when import returns ImportResult instead of boolean
32
Set<InstallResult.Type> good = Set.of(InstallResult.Type.SUCCESS_INSTALLED, InstallResult.Type.PLUGIN_EXISTS);
33
for (var result : installResults) {
34
+ if (result.name().equalsIgnoreCase("mcpm") ||
35
+ result.name().equalsIgnoreCase("mcpm-helper")) // ignore mcpm imports
36
+ continue;
37
+
38
boolean successfulInstall = good.contains(result.type());
39
allSuccessful &= successfulInstall;
40
allFailed &= !successfulInstall;
0 commit comments