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();