You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
@@ -125,7 +120,7 @@ public void injectIntoClassLoader(LaunchClassLoader classLoader) {
125
120
126
121
DesktopManager.open(modsFolder);
127
122
JOptionPane.showMessageDialog(null, "Duplicate mods have been detected! These mods are...\n" +
128
-
getStringOf(dupeMap.values()) + "\nPlease removes these mods from your mod folder, which is opened. Go to https://inv.wtf/skyclient for more info.", "Duplicate Mods Detected!", JOptionPane.ERROR_MESSAGE);
123
+
getStringOf(dupeMap.values()) + "\nPlease removes these mods from your mod folder, which is opened." + ((newFile("./W-OVERFLOW/CrashPatch/SKYCLIENT").exists() || containsAnyKey(ModsCheckerPlugin.modsMap, "skyclientcosmetics", "scc", "skyclientaddons", "skyblockclientupdater", "skyclientupdater", "skyclientcore")) ? " GO TO https://inv.wtf/skyclient FOR MORE INFORMATION." : ""), "Duplicate Mods Detected!", JOptionPane.ERROR_MESSAGE);
Copy file name to clipboardExpand all lines: src/main/kotlin/cc/woverflow/crashpatch/CrashPatch.kt
+1-1Lines changed: 1 addition & 1 deletion
Original file line number
Diff line number
Diff line change
@@ -23,7 +23,7 @@ object CrashPatch {
23
23
constvalMODID="crashpatch"
24
24
constvalNAME="CrashPatch"
25
25
constvalVERSION="@VERSION@"
26
-
val isSkyclient by lazy(LazyThreadSafetyMode.PUBLICATION) { File(modDir, "SKYCLIENT").exists() ||ModsCheckerPlugin.modsMap.keys.any { it =="skyclientcosmetics"|| it =="scc"|| it =="skyclientaddons"|| it =="skyblockclientupdater" } }
26
+
val isSkyclient by lazy(LazyThreadSafetyMode.PUBLICATION) { File(modDir, "SKYCLIENT").exists() ||ModsCheckerPlugin.modsMap.keys.any { it =="skyclientcosmetics"|| it =="scc"|| it =="skyclientaddons"|| it =="skyblockclientupdater"|| it =="skyclientupdater"|| it =="skyclientcore"} }
27
27
val gameDir:File by lazy(LazyThreadSafetyMode.PUBLICATION) {
28
28
try {
29
29
if (Launch.minecraftHome.parentFile?.name == (if (UDesktop.isMac) "minecraft"else".minecraft")) Launch.minecraftHome.parentFile elseLaunch.minecraftHome
0 commit comments