Skip to content

Commit 37a9ff1

Browse files
committed
Rename icon output file
decided it would be clearer to use icon.png instead of temp.png Signed-off-by: Nova <[email protected]>
1 parent 6f788d0 commit 37a9ff1

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/main/java/com/hackclub/hccore/tasks/IconTask.java

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -48,7 +48,7 @@ public void run() {
4848
HttpResponse<Path> cdnResponse;
4949
try {
5050
cdnResponse = client.send(cdnRequest,
51-
HttpResponse.BodyHandlers.ofFile(Paths.get(plugin.getDataPath().toString(), "temp.png")));
51+
HttpResponse.BodyHandlers.ofFile(Paths.get(plugin.getDataPath().toString(), "icon.png")));
5252
} catch (IOException | InterruptedException | SecurityException e) {
5353
plugin.getLogger().severe("Failed to get the current icon from the Hack Club CDN!");
5454
plugin.getLogger().severe(e.getMessage());

0 commit comments

Comments
 (0)