From 1e169ce55beac3c3bed8169864c96afe59de28d9 Mon Sep 17 00:00:00 2001 From: Zaxar163 Date: Wed, 18 Dec 2019 20:01:38 +0100 Subject: [PATCH] =?UTF-8?q?[FIX]=20=D0=94=D0=B5=D1=84=D0=BE=D0=BB=D1=82?= =?UTF-8?q?=D0=BD=D0=BE=D0=B5=20=D0=B7=D0=BD=D0=B0=D1=87=D0=B5=D0=BD=D0=B8?= =?UTF-8?q?=D0=B5=20IGN=5FOVERFLOW.?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .../src/main/java/pro/gravit/launcher/utils/DirWatcher.java | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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);