diff --git a/Launcher/src/main/java/pro/gravit/launcher/utils/DirWatcher.java b/Launcher/src/main/java/pro/gravit/launcher/utils/DirWatcher.java index a9590784..37bc16fe 100644 --- a/Launcher/src/main/java/pro/gravit/launcher/utils/DirWatcher.java +++ b/Launcher/src/main/java/pro/gravit/launcher/utils/DirWatcher.java @@ -47,7 +47,7 @@ public FileVisitResult preVisitDirectory(Path dir, BasicFileAttributes attrs) th }; public static final String IGN_OVERFLOW = "launcher.dirwatcher.ignoreOverflows"; - private static final boolean PROP_IGN_OVERFLOW = Boolean.getBoolean(IGN_OVERFLOW); + private static final boolean PROP_IGN_OVERFLOW = Boolean.parseBoolean(System.getProperty(IGN_OVERFLOW, "true")); private static void handleError(Throwable e) { LogHelper.error(e);