We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
2 parents fc3a3d4 + 548d85a commit db5dc2cCopy full SHA for db5dc2c
src/main/java/io/github/archipelagomw/Client.java
@@ -301,7 +301,7 @@ public void saveDataPackage() {
301
//if key is for this game
302
File filePath = dataPackageLocation.resolve(safeName).resolve(gameVersion).toFile();
303
304
- try (Writer writer = new FileWriter(filePath)){
+ try (Writer writer = Files.newBufferedWriter(filePath.toPath(), StandardCharsets.UTF_8)){
305
//if game is in list of games, save it
306
gson.toJson(dataPackage.getGame(gameName), writer);
307
LOGGER.info("Saving datapackage for Game: ".concat(gameName).concat(" Checksum: ").concat(gameVersion));
0 commit comments