8.10-SNAPSHOT1

This commit is contained in:
mfnalex 2020-06-11 20:14:07 +02:00
parent c1fd1abc89
commit 3b408bbd79
2 changed files with 4 additions and 1 deletions

View File

@ -1,4 +1,7 @@
# Changelog
## 8.10-SNAPSHOT1
- Removed "checking for updates" message
## 8.9
- Prevent BossShopPro's GUI from being sorted
- Added custom event to let 3rd party plugins cancel sorting an inventory, see updated API doc for more information

View File

@ -90,7 +90,7 @@ public class ChestSortUpdateChecker {
public void run() {
try {
plugin.getLogger().info("Checking for available updates...");
//plugin.getLogger().info("Checking for available updates...");
String userAgent = "ChestSort/"+plugin.getDescription().getVersion()+" (MC "+plugin.mcVersion+", "+plugin.getServer().getOnlinePlayers().size()+"/"+plugin.getServer().getOfflinePlayers().length+")";
HttpURLConnection httpcon = (HttpURLConnection) new URL(latestVersionLink).openConnection();
httpcon.addRequestProperty("User-Agent", userAgent);