Skip to content

Commit

Permalink
new: warning about labymod rp24 breaking patcher resourcepack optimiz…
Browse files Browse the repository at this point in the history
…ations

closes Sk1erLLC#130
  • Loading branch information
Sychic committed Mar 17, 2023
1 parent 76c8d52 commit 8a58e1c
Showing 1 changed file with 7 additions and 0 deletions.
7 changes: 7 additions & 0 deletions src/main/java/club/sk1er/patcher/Patcher.java
Original file line number Diff line number Diff line change
Expand Up @@ -375,6 +375,13 @@ private void detectIncompatibilities(List<ModContainer> activeModList, Notificat
}
}

try {
Class.forName("net.labymod.addons.resourcepacks24.Resourcepacks24", false, getClass().getClassLoader());
notifications.push("Patcher", "The LabyMod addon \"Resourcepacks24\" conflicts with Patcher's resourcepack optimizations. Please remove it to make it work again.");
} catch (ClassNotFoundException ignored) {

}

this.forceSaveConfig();
}

Expand Down

0 comments on commit 8a58e1c

Please sign in to comment.