Print warning when loading overriding jar

This commit is contained in:
RaphiMC 2024-05-26 17:31:45 +02:00
parent 146d218276
commit 98dd3a11a8
No known key found for this signature in database
GPG Key ID: 0F6BB0657A03AC94

View File

@ -36,7 +36,7 @@ public class ClassLoaderPriorityUtil {
try {
if (file.getName().endsWith(".jar")) {
ClassLoaders.loadToFront(file.toURI().toURL());
Logger.LOGGER.info("Loaded overriding jar " + file.getName());
Logger.LOGGER.warn("Loaded overriding jar " + file.getName());
}
} catch (Throwable e) {
Logger.LOGGER.error("Failed to load overriding jar " + file.getName(), e);