mirror of
https://github.com/ViaVersion/ViaProxy.git
synced 2024-11-15 10:45:36 +01:00
Print warning when loading overriding jar
This commit is contained in:
parent
146d218276
commit
98dd3a11a8
@ -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);
|
||||
|
Loading…
Reference in New Issue
Block a user