Skip to content

Commit 58e7b68

Browse files
author
FungY911
committed
Update Updater.java
1 parent 929dc66 commit 58e7b68

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/main/java/tk/fungy/wsformc/Updater.java

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -27,7 +27,7 @@ public void run() {
2727
}
2828
}, 0L, 20 * 60 * 60 * 24); // Schedule the task to run every 24 hours
2929
}
30-
private void checkForUpdates() {
30+
private static void checkForUpdates() {
3131
try {
3232
URL url = new URL("https://api.github.com/repos/CodeITForFun/WSForMC/releases"); // Replace with the URL to your GitHub releases
3333
BufferedReader reader = new BufferedReader(new InputStreamReader(url.openStream()));

0 commit comments

Comments
 (0)