From f07ce48b24888f0852a013d29c453bb4683e7e96 Mon Sep 17 00:00:00 2001 From: AnimeGitB Date: Fri, 28 Oct 2022 22:13:13 +1030 Subject: [PATCH] Remove compilation warning on Language.java --- src/main/java/emu/grasscutter/utils/Language.java | 1 + 1 file changed, 1 insertion(+) diff --git a/src/main/java/emu/grasscutter/utils/Language.java b/src/main/java/emu/grasscutter/utils/Language.java index 7bc448d1..07d9c6a5 100644 --- a/src/main/java/emu/grasscutter/utils/Language.java +++ b/src/main/java/emu/grasscutter/utils/Language.java @@ -356,6 +356,7 @@ public final class Language { ); } + @SuppressWarnings("unchecked") private static Int2ObjectMap loadTextMapsCache() throws Exception { try (ObjectInputStream file = new ObjectInputStream(new BufferedInputStream(Files.newInputStream(TEXTMAP_CACHE_PATH), 0x100000))) { final int fileVersion = file.readInt();