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.
1 parent 929dc66 commit 58e7b68Copy full SHA for 58e7b68
src/main/java/tk/fungy/wsformc/Updater.java
@@ -27,7 +27,7 @@ public void run() {
27
}
28
}, 0L, 20 * 60 * 60 * 24); // Schedule the task to run every 24 hours
29
30
- private void checkForUpdates() {
+ private static void checkForUpdates() {
31
try {
32
URL url = new URL("https://api.github.com/repos/CodeITForFun/WSForMC/releases"); // Replace with the URL to your GitHub releases
33
BufferedReader reader = new BufferedReader(new InputStreamReader(url.openStream()));
0 commit comments