Skip to content

Commit

Permalink
Remove compilation warning on Language.java
Browse files Browse the repository at this point in the history
  • Loading branch information
Birdulon committed Oct 28, 2022
1 parent 2dd644f commit f07ce48
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions src/main/java/emu/grasscutter/utils/Language.java
Original file line number Diff line number Diff line change
Expand Up @@ -356,6 +356,7 @@ private static Int2ObjectMap<TextStrings> loadTextMapFiles(IntSet nameHashes) {
);
}

@SuppressWarnings("unchecked")
private static Int2ObjectMap<TextStrings> loadTextMapsCache() throws Exception {
try (ObjectInputStream file = new ObjectInputStream(new BufferedInputStream(Files.newInputStream(TEXTMAP_CACHE_PATH), 0x100000))) {
final int fileVersion = file.readInt();
Expand Down

0 comments on commit f07ce48

Please sign in to comment.