From 4dab77bda94313e9b36485c67a334c537043d8a4 Mon Sep 17 00:00:00 2001 From: Gravit Date: Mon, 9 Dec 2019 02:35:57 +0700 Subject: [PATCH] =?UTF-8?q?[FIX]=20=D0=97=D0=B0=D0=B1=D1=8B=D1=82=D1=8B?= =?UTF-8?q?=D0=B5=20LauncherNetworkAPI?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .../src/main/java/pro/gravit/launcher/hasher/HashedEntry.java | 3 ++- .../src/main/java/pro/gravit/launcher/hasher/HashedFile.java | 2 +- 2 files changed, 3 insertions(+), 2 deletions(-) diff --git a/LauncherCore/src/main/java/pro/gravit/launcher/hasher/HashedEntry.java b/LauncherCore/src/main/java/pro/gravit/launcher/hasher/HashedEntry.java index 9291307f..f3105a9f 100644 --- a/LauncherCore/src/main/java/pro/gravit/launcher/hasher/HashedEntry.java +++ b/LauncherCore/src/main/java/pro/gravit/launcher/hasher/HashedEntry.java @@ -1,5 +1,6 @@ package pro.gravit.launcher.hasher; +import pro.gravit.launcher.LauncherNetworkAPI; import pro.gravit.launcher.serialize.HInput; import pro.gravit.launcher.serialize.stream.EnumSerializer; import pro.gravit.launcher.serialize.stream.StreamObject; @@ -28,7 +29,7 @@ public int getNumber() { } } - + @LauncherNetworkAPI public boolean flag; // For external usage diff --git a/LauncherCore/src/main/java/pro/gravit/launcher/hasher/HashedFile.java b/LauncherCore/src/main/java/pro/gravit/launcher/hasher/HashedFile.java index e117596f..396265e7 100644 --- a/LauncherCore/src/main/java/pro/gravit/launcher/hasher/HashedFile.java +++ b/LauncherCore/src/main/java/pro/gravit/launcher/hasher/HashedFile.java @@ -16,7 +16,7 @@ public final class HashedFile extends HashedEntry { public static final DigestAlgorithm DIGEST_ALGO = DigestAlgorithm.MD5; // Instance - + @LauncherNetworkAPI public final long size; @LauncherNetworkAPI private final byte[] digest;