diff --git a/.idea/jarRepositories.xml b/.idea/jarRepositories.xml
index 3c29394..9534acf 100644
--- a/.idea/jarRepositories.xml
+++ b/.idea/jarRepositories.xml
@@ -21,6 +21,11 @@
+
+
+
+
+
diff --git a/.idea/misc.xml b/.idea/misc.xml
index cb9e3da..23ff514 100644
--- a/.idea/misc.xml
+++ b/.idea/misc.xml
@@ -13,7 +13,6 @@
-
-
+
\ No newline at end of file
diff --git a/pom.xml b/pom.xml
index b803ebd..113b79d 100644
--- a/pom.xml
+++ b/pom.xml
@@ -6,7 +6,7 @@
net.t2code
T2CodeLib
- 16.5_DEV
+ 16.5
@@ -105,11 +105,11 @@
https://nexus.bencodez.com/repository/maven-public/
-
sonatype-oss-snapshots1
https://s01.oss.sonatype.org/content/repositories/snapshots/
- -->
+
@@ -118,7 +118,7 @@
org.spigotmc
spigot-api
- 1.20.4-R0.1-SNAPSHOT
+ 1.20.6-R0.1-SNAPSHOT
provided
@@ -182,7 +182,7 @@
net.kyori
adventure-text-minimessage
- 4.16.0
+ 4.17.0
compile
diff --git a/src/main/java/net/t2code/t2codelib/SPIGOT/api/minecraftVersion/T2CmcVersion.java b/src/main/java/net/t2code/t2codelib/SPIGOT/api/minecraftVersion/T2CmcVersion.java
index b2a2ce6..302cfba 100644
--- a/src/main/java/net/t2code/t2codelib/SPIGOT/api/minecraftVersion/T2CmcVersion.java
+++ b/src/main/java/net/t2code/t2codelib/SPIGOT/api/minecraftVersion/T2CmcVersion.java
@@ -45,8 +45,9 @@ public class T2CmcVersion {
nms1_19_R2 = nms.contains("1_19_R2");
nms1_20_R1 = nms.contains("1_20_R1");
nms1_20_R2 = nms.contains("1_20_R2");
- nms1_20_R2 = nms.contains("1_20_R3");
- nms1_20_R2 = nms.contains("1_20_R4");
+ nms1_20_R3 = nms.contains("1_20_R3");
+ nms1_20_R4 = nms.contains("1_20_R4");
+ nms1_20_R5 = nms.contains("1_20_R5");
nms1_21_R1 = nms.contains("1_21_R1");
}
@@ -92,6 +93,7 @@ public class T2CmcVersion {
private static boolean nms1_20_R2;
private static boolean nms1_20_R3;
private static boolean nms1_20_R4;
+ private static boolean nms1_20_R5;
private static boolean nms1_21_R1;
public static String getMcVersion() {
@@ -248,12 +250,20 @@ public class T2CmcVersion {
public static boolean isNms1_20_R2() {
return nms1_20_R2;
- }public static boolean isNms1_20_R3() {
+ }
+
+ public static boolean isNms1_20_R3() {
return nms1_20_R3;
- }public static boolean isNms1_20_R4() {
+ }
+
+ public static boolean isNms1_20_R4() {
return nms1_20_R4;
}
+ public static boolean isNms1_20_R5() {
+ return nms1_20_R5;
+ }
+
public static boolean isNms1_21_R1() {
return nms1_21_R1;
}
diff --git a/src/main/java/net/t2code/t2codelib/SPIGOT/api/update/T2CupdateCheckerGit.java b/src/main/java/net/t2code/t2codelib/SPIGOT/api/update/T2CupdateCheckerGit.java
index 5454092..9c908e1 100644
--- a/src/main/java/net/t2code/t2codelib/SPIGOT/api/update/T2CupdateCheckerGit.java
+++ b/src/main/java/net/t2code/t2codelib/SPIGOT/api/update/T2CupdateCheckerGit.java
@@ -54,7 +54,7 @@ public class T2CupdateCheckerGit {
T2CupdateAPI.pluginVersions.put(plugin.getName(), update);
if (T2CupdateAPI.pluginVersions.get(plugin.getName()) == null){
- T2Csend.debugmsg(T2CodeLibMain.getPlugin(),plugin.getName() + " UpdateAPI T2CupdateAPI.pluginVersions.get(plugin.getName()) == null");
+ T2Csend.debugmsg(T2CodeLibMain.getPlugin(),"'"+plugin.getName() + "' UpdateAPI T2CupdateAPI.pluginVersions.get(plugin.getName()) == null");
return;
}
if (T2CupdateAPI.pluginVersions.get(plugin.getName()).updateAvailable) {
diff --git a/src/main/java/net/t2code/t2codelib/SPIGOT/system/T2CodeLibMain.java b/src/main/java/net/t2code/t2codelib/SPIGOT/system/T2CodeLibMain.java
index 8393f67..6916692 100644
--- a/src/main/java/net/t2code/t2codelib/SPIGOT/system/T2CodeLibMain.java
+++ b/src/main/java/net/t2code/t2codelib/SPIGOT/system/T2CodeLibMain.java
@@ -62,10 +62,10 @@ public final class T2CodeLibMain extends JavaPlugin {
}
T2CmcVersion.onCheck();
- if (T2CmcVersion.isNms1_20_R4()) {
+ if (T2CmcVersion.isNms1_20_R5()) {
T2Csend.console(prefix + " §4!!!!!!!!!!!!!!!!!!!!");
T2Csend.console(prefix);
- T2Csend.warning(plugin, "The 1.20.* (NMS R4) is a very fresh / new version. If there are any bugs in our plugins, please report them to us via our Discord: http://dc.t2code.net");
+ T2Csend.warning(plugin, "The 1.20.* (NMS R5) is a very fresh / new version. If there are any bugs in our plugins, please report them to us via our Discord: http://dc.t2code.net");
T2Csend.console(prefix);
T2Csend.console(prefix + " §4!!!!!!!!!!!!!!!!!!!!");
if (!SelectLibConfig.getT2cTestDevelopment()) {