mirror of
https://github.com/ViaVersion/ViaFabricPlus.git
synced 2025-02-02 23:31:36 +01:00
Make ClassLoaderPriorityUtil print warnings
Makes it more obvious that jars are overridden because people tend to forget about it leading to random issues later
This commit is contained in:
parent
07f25f8e26
commit
c1a34f3d7f
@ -52,7 +52,7 @@ public class ClassLoaderPriorityUtil {
|
||||
for (File file : files) {
|
||||
if (file.getName().endsWith(".jar")) {
|
||||
ClassLoaders.loadToFront(file.toURI().toURL());
|
||||
ViaFabricPlus.global().getLogger().info("Loaded overriding jar " + file.getName());
|
||||
ViaFabricPlus.global().getLogger().warn("Loaded overriding jar {}", file.getName());
|
||||
}
|
||||
}
|
||||
} finally {
|
||||
|
Loading…
Reference in New Issue
Block a user