mirror of
https://github.com/ViaVersion/ViaProxy.git
synced 2024-12-22 16:38:04 +01:00
Create jars folder on startup
This commit is contained in:
parent
5924dd29b8
commit
43732f22e3
@ -26,6 +26,11 @@ public class ClassLoaderPriorityUtil {
|
||||
|
||||
public static void loadOverridingJars() {
|
||||
final File jarsFolder = new File("jars");
|
||||
if (!jarsFolder.exists()) {
|
||||
jarsFolder.mkdir();
|
||||
return;
|
||||
}
|
||||
|
||||
if (jarsFolder.isDirectory()) {
|
||||
for (File file : jarsFolder.listFiles()) {
|
||||
try {
|
||||
|
Loading…
Reference in New Issue
Block a user