Skip to content

Commit

Permalink
пиздец я тупой
Browse files Browse the repository at this point in the history
  • Loading branch information
ulybaka1337 authored Oct 25, 2024
1 parent a8ae32b commit 04fd1e4
Showing 1 changed file with 2 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -118,7 +118,7 @@ public void load(String name) {

public void loadCloud(String name) {
Command.sendMessage(isRu() ? "Загружаю.." : "Downloading..");
try (BufferedInputStream in = new BufferedInputStream(new URL("https://raw.githubusercontent.com/Pan4ur/THRecodeUtil/main/configs/" + name + ".th").openStream());
try (BufferedInputStream in = new BufferedInputStream(new URL("https://raw.githubusercontent.com/ulybaka1337/THRecodeImprovedUtil/main/configs/" + name + ".th").openStream());
FileOutputStream fileOutputStream = new FileOutputStream(new File(CONFIGS_FOLDER, name + ".th"))) {
byte[] dataBuffer = new byte[1024];
int bytesRead;
Expand Down Expand Up @@ -446,4 +446,4 @@ public File getCurrentConfig() {
currentConfig = new File(CONFIGS_FOLDER, name + ".th");
return currentConfig;
}
}
}

0 comments on commit 04fd1e4

Please sign in to comment.