mirror of
https://github.com/EarthMC/QuickShop-Reremake.git
synced 2026-11-24 17:39:52 -05:00
Add notice for checking update failed.
Former-commit-id: 71c3366fdbefc1004c3b3c38723a655f8ec0c024 [formerly bb495488ff8f143e348cfa0ce99eda33ad43aa72] Former-commit-id: fe508f08dc357dc1ec1d691778db72aa294e456a
This commit is contained in:
1 parent
bc84f3418e
commit
5be642c86f
1 file changed
+3
-2
@@ -1,6 +1,7 @@
|
||||
package org.maxgamer.quickshop.Util;
|
||||
|
||||
import java.io.BufferedReader;
|
||||
import java.io.IOException;
|
||||
import java.io.InputStreamReader;
|
||||
import java.net.URL;
|
||||
|
||||
@@ -31,8 +32,8 @@ public class Updater {
|
||||
}
|
||||
connection.disconnect();
|
||||
return false;
|
||||
} catch (Exception e) {
|
||||
Bukkit.getConsoleSender().sendMessage(ChatColor.RED + "[QuickShop] Failed to check for an update on SpigotMC.org!");
|
||||
} catch (IOException e) {
|
||||
Bukkit.getConsoleSender().sendMessage(ChatColor.RED + "[QuickShop] Failed to check for an update on SpigotMC.org! Maybe internet issue or SpigotMC host down. If you want disable update checker, you can disable in config.yml, but we still high-recommand check update on SpigotMC.org.");
|
||||
return false;
|
||||
}
|
||||
}
|
||||
|
||||
Reference in new issue
Block a user