From a2f2614b10d52a2e5c3e3c9c0239b9d6d674d4fc Mon Sep 17 00:00:00 2001 From: nossr50 Date: Tue, 11 Aug 2020 16:13:11 -0700 Subject: [PATCH] 2.1.141 --- Changelog.txt | 3 +++ pom.xml | 21 +++++++++++++++++-- .../util/compat/CompatibilityManager.java | 2 ++ .../gmail/nossr50/util/nms/NMSVersion.java | 1 + 4 files changed, 25 insertions(+), 2 deletions(-) diff --git a/Changelog.txt b/Changelog.txt index c6961dd92..665f726f5 100644 --- a/Changelog.txt +++ b/Changelog.txt @@ -1,3 +1,6 @@ +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 958748970..f82d947f9 100755 --- a/pom.xml +++ b/pom.xml @@ -2,7 +2,7 @@ 4.0.0 com.gmail.nossr50.mcMMO mcMMO - 2.1.140 + 2.1.141 mcMMO https://github.com/mcMMO-Dev/mcMMO @@ -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");