diff --git a/src/main/java/gg/skytils/skytilsmod/tweaker/DuplicateSkytilsChecker.java b/src/main/java/gg/skytils/skytilsmod/tweaker/DuplicateSkytilsChecker.java index 709e4b0b0..3ee5f8612 100644 --- a/src/main/java/gg/skytils/skytilsmod/tweaker/DuplicateSkytilsChecker.java +++ b/src/main/java/gg/skytils/skytilsmod/tweaker/DuplicateSkytilsChecker.java @@ -19,6 +19,7 @@ package gg.skytils.skytilsmod.tweaker; import com.google.common.collect.Sets; +import gg.skytils.earlytweaker.utils.Utils; import sun.misc.CompoundEnumeration; import java.io.IOException; @@ -40,7 +41,8 @@ public static void checkForDuplicates() throws IOException { files.add(url.toString()); } if (files.size() > 1) { - throw new RuntimeException("Duplicate Skytils classes found! Remove the duplicate jar files and try again.\n" + files); + String message = "Duplicate Skytils classes found! Remove the duplicate jar files and try again.\n" + files; + Utils.makeCrashReport(new RuntimeException(message), "Duplicate Skytils classes found!"); } } }