diff --git a/pom.xml b/pom.xml
index 26a9105..91e3475 100644
--- a/pom.xml
+++ b/pom.xml
@@ -6,7 +6,7 @@
net.t2code
T2CodeLib
- 10.9
+ 11.0
jar
T2CodeLib
diff --git a/src/main/java/net/t2code/lib/Spigot/Lib/update/UpdateAPI.java b/src/main/java/net/t2code/lib/Spigot/Lib/update/UpdateAPI.java
index 56e8221..7b8dfcb 100644
--- a/src/main/java/net/t2code/lib/Spigot/Lib/update/UpdateAPI.java
+++ b/src/main/java/net/t2code/lib/Spigot/Lib/update/UpdateAPI.java
@@ -152,6 +152,9 @@ public class UpdateAPI {
}
public void getVersion(Consumer consumer, String Prefix, String pluginVersion) {
+ if (!plugin.isEnabled()){
+ return;
+ }
Bukkit.getScheduler().runTaskAsynchronously(this.plugin, () -> {
try {
InputStream inputStream = (new URL("https://api.spigotmc.org/legacy/update.php?resource=" + this.resourceId)).openStream();
diff --git a/target/classes/bungee.yml b/target/classes/bungee.yml
index 78bad18..dbc00bd 100644
--- a/target/classes/bungee.yml
+++ b/target/classes/bungee.yml
@@ -1,5 +1,5 @@
name: T2CodeLib
-version: 10.9
+version: 11.0
main: net.t2code.lib.Bungee.BMain
author: JaTiTV, Jkobs
description: Libarie from T2Code Plugins
\ No newline at end of file
diff --git a/target/classes/net/t2code/lib/Spigot/Lib/update/UpdateAPI.class b/target/classes/net/t2code/lib/Spigot/Lib/update/UpdateAPI.class
index 3b8f7ce..f2884c9 100644
Binary files a/target/classes/net/t2code/lib/Spigot/Lib/update/UpdateAPI.class and b/target/classes/net/t2code/lib/Spigot/Lib/update/UpdateAPI.class differ
diff --git a/target/classes/plugin.yml b/target/classes/plugin.yml
index 93942a4..eb21bd1 100644
--- a/target/classes/plugin.yml
+++ b/target/classes/plugin.yml
@@ -1,5 +1,5 @@
name: T2CodeLib
-version: 10.9
+version: 11.0
main: net.t2code.lib.Spigot.system.Main
api-version: 1.13
prefix: T2CodeLib