Mirror von
https://github.com/GeyserMC/Geyser.git
synchronisiert 2024-12-25 15:50:14 +01:00
Close en_us.hash stream (#1833)
Dieser Commit ist enthalten in:
Ursprung
dd0b4bafe8
Commit
c0a64659c2
@ -142,8 +142,9 @@ public class LocaleUtils {
|
||||
try {
|
||||
File hashFile = GeyserConnector.getInstance().getBootstrap().getConfigFolder().resolve("locales/en_us.hash").toFile();
|
||||
if (hashFile.exists()) {
|
||||
BufferedReader br = new BufferedReader(new FileReader(hashFile));
|
||||
curHash = br.readLine().trim();
|
||||
try (BufferedReader br = new BufferedReader(new FileReader(hashFile))) {
|
||||
curHash = br.readLine().trim();
|
||||
}
|
||||
}
|
||||
} catch (IOException ignored) { }
|
||||
targetHash = clientJarInfo.getSha1();
|
||||
|
Laden…
In neuem Issue referenzieren
Einen Benutzer sperren