From c35ef3dfcb95c81a17eeb3f55c870da688e12041 Mon Sep 17 00:00:00 2001 From: JaTiTV Date: Fri, 27 Sep 2024 00:39:14 +0200 Subject: [PATCH] 16.7 add 1.21.1 support --- pom.xml | 2 +- .../t2codelib/SPIGOT/api/minecraftVersion/T2CnmsVersions.java | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/pom.xml b/pom.xml index 1d9ff3e..d0686de 100644 --- a/pom.xml +++ b/pom.xml @@ -6,7 +6,7 @@ net.t2code T2CodeLib - 16.6 + 16.7 diff --git a/src/main/java/net/t2code/t2codelib/SPIGOT/api/minecraftVersion/T2CnmsVersions.java b/src/main/java/net/t2code/t2codelib/SPIGOT/api/minecraftVersion/T2CnmsVersions.java index b6c8475..30969cf 100644 --- a/src/main/java/net/t2code/t2codelib/SPIGOT/api/minecraftVersion/T2CnmsVersions.java +++ b/src/main/java/net/t2code/t2codelib/SPIGOT/api/minecraftVersion/T2CnmsVersions.java @@ -90,7 +90,7 @@ public class T2CnmsVersions { } else if (mc.contains("(MC: 1.20.6)")) { t2CnmsEnum = T2CnmsEnum.v1_20_R4; T2Cdebug.debugmsg(T2CodeLibMain.getPlugin(), String.valueOf(t2CnmsEnum)); - } else if (mc.contains("(MC: 1.21)")) { + } else if (mc.contains("(MC: 1.21)") || mc.contains("(MC: 1.21.1)")) { t2CnmsEnum = T2CnmsEnum.v1_21_R1; T2Cdebug.debugmsg(T2CodeLibMain.getPlugin(), String.valueOf(t2CnmsEnum)); } else t2CnmsEnum = T2CnmsEnum.not_support;