Skip to content

Commit bf45813

Browse files
committed
Merge remote-tracking branch 'origin/master'
2 parents b928c82 + 13002bd commit bf45813

File tree

1 file changed

+1
-1
lines changed
  • src/main/java/org/maxgamer/quickshop/localization/text/distributions/crowdin

1 file changed

+1
-1
lines changed

src/main/java/org/maxgamer/quickshop/localization/text/distributions/crowdin/CrowdinOTA.java

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -209,7 +209,7 @@ public String getFile(String fileCrowdinPath, String crowdinLocale, boolean forc
209209
throw new OTAException(response.code(), data);
210210
}
211211
// save to local cache file
212-
Files.write(cachedDataFile.toPath(), data.getBytes(StandardCharsets.UTF_8), StandardOpenOption.WRITE, StandardOpenOption.CREATE);
212+
Files.write(cachedDataFile.toPath(), data.getBytes(StandardCharsets.UTF_8));
213213
} catch (IOException e) {
214214
plugin.getLogger().log(Level.WARNING, "Failed to download manifest.json, multi-language system may won't work");
215215
e.printStackTrace();

0 commit comments

Comments
 (0)