diff --git a/Changelog.txt b/Changelog.txt index 6d890f7ed..9d4674e27 100644 --- a/Changelog.txt +++ b/Changelog.txt @@ -48,6 +48,9 @@ Version 2.2.000 Notes: These are the first new skills that I've written for mcMMO in about 9 years, I'll be listening closely to feedback and tweaking them often. +Version 2.1.141 + Added some missing values for 1.16.2 compatibility modes + Version 2.1.140 Fixed a few potential issues with scoreboards Updated polish locale diff --git a/pom.xml b/pom.xml index 9e00cf6cc..ebe3de97d 100755 --- a/pom.xml +++ b/pom.xml @@ -99,6 +99,7 @@ org.apache.tomcat:tomcat-jdbc org.apache.tomcat:tomcat-juli org.bstats:bstats-bukkit + net.kyori:adventure-api @@ -151,8 +152,24 @@ sk89q-repo https://maven.sk89q.com/repo/ + + + sonatype-oss + https://oss.sonatype.org/content/repositories/snapshots/ + + + + + + + + + + + + org.apache.maven.scm maven-scm-provider-gitexe @@ -167,7 +184,7 @@ org.spigotmc spigot-api - 1.16.1-R0.1-SNAPSHOT + 1.16.2-R0.1-SNAPSHOT provided diff --git a/src/main/java/com/gmail/nossr50/util/compat/CompatibilityManager.java b/src/main/java/com/gmail/nossr50/util/compat/CompatibilityManager.java index d601f2d99..51720245f 100644 --- a/src/main/java/com/gmail/nossr50/util/compat/CompatibilityManager.java +++ b/src/main/java/com/gmail/nossr50/util/compat/CompatibilityManager.java @@ -120,6 +120,8 @@ public class CompatibilityManager { case 16: if (minecraftGameVersion.getPatchVersion().asInt() == 1) { return NMSVersion.NMS_1_16_1; + } else if(minecraftGameVersion.getPatchVersion().asInt() == 2) { + return NMSVersion.NMS_1_16_2; } } } diff --git a/src/main/java/com/gmail/nossr50/util/nms/NMSVersion.java b/src/main/java/com/gmail/nossr50/util/nms/NMSVersion.java index 51251c47a..a5e599b46 100644 --- a/src/main/java/com/gmail/nossr50/util/nms/NMSVersion.java +++ b/src/main/java/com/gmail/nossr50/util/nms/NMSVersion.java @@ -18,6 +18,7 @@ public enum NMSVersion { //1.16 NMS_1_16_1("1.16.1"), + NMS_1_16_2("1.16.2"), //Version not known to this build of mcMMO UNSUPPORTED("unsupported");