[FIX] Убрал лишние варнинги.

This commit is contained in:
zaxar163 2019-04-28 10:53:25 +03:00
parent 72b1af05fa
commit 1d0554c250
No known key found for this signature in database
GPG key ID: E3B309DD3852DE06

View file

@ -847,7 +847,7 @@ public void syncUpdatesDir(Collection<String> dirs) throws IOException {
// Resolve name and verify is dir
String name = IOHelper.getFileName(updateDir);
if (!IOHelper.isDir(updateDir)) {
LogHelper.warning("Not update dir: '%s'", name);
if (!updateDir.toString().endsWith(".jar") && !updateDir.toString().endsWith(".exe") && !updateDir.toString().endsWith(".hash")) LogHelper.warning("Not update dir: '%s'", name);
continue;
}