diff --git a/CHANGELOG.md b/CHANGELOG.md index 70db9f9..63a5cc3 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -1,5 +1,8 @@ # Changelog +## 10.0.3 +- Fixed "Could not check for updates" message being shown to OPs on join when Update Checker is disabled + ## 10.0.2 - Fixed legacy API still being shaded into the .jar file. diff --git a/pom.xml b/pom.xml index abde010..da72886 100644 --- a/pom.xml +++ b/pom.xml @@ -9,7 +9,7 @@ ChestSort https://www.chestsort.de Automatically sorts your chests! - 10.0.2 + 10.0.3 jar diff --git a/src/main/java/de/jeff_media/chestsort/ChestSortPlugin.java b/src/main/java/de/jeff_media/chestsort/ChestSortPlugin.java index 39af3c8..6b195cf 100644 --- a/src/main/java/de/jeff_media/chestsort/ChestSortPlugin.java +++ b/src/main/java/de/jeff_media/chestsort/ChestSortPlugin.java @@ -324,6 +324,10 @@ public class ChestSortPlugin extends JavaPlugin { } } + if(getConfig().getString("check-for-updates").equalsIgnoreCase("false")) { + updateChecker.setNotifyOpsOnJoin(false); + } + registerMetrics(); if (getConfig().getBoolean("dump")) { diff --git a/src/main/resources/plugin.yml b/src/main/resources/plugin.yml index 52fcbc8..60f8082 100644 --- a/src/main/resources/plugin.yml +++ b/src/main/resources/plugin.yml @@ -1,6 +1,6 @@ main: de.jeff_media.chestsort.ChestSortPlugin name: ChestSort -version: 10.0.2 +version: 10.0.3 api-version: "1.13" description: Allows automatic chest sorting author: mfnalex