Merge branch 'master' of github.com:mcMMO-Dev/mcMMO into tridentsxbows

This commit is contained in:
nossr50 2020-09-10 15:13:07 -07:00
commit d7099a69d8
2 changed files with 3 additions and 0 deletions

View File

@ -122,6 +122,8 @@ public class CompatibilityManager {
return NMSVersion.NMS_1_16_1; return NMSVersion.NMS_1_16_1;
} else if(minecraftGameVersion.getPatchVersion().asInt() == 2) { } else if(minecraftGameVersion.getPatchVersion().asInt() == 2) {
return NMSVersion.NMS_1_16_2; return NMSVersion.NMS_1_16_2;
} else if(minecraftGameVersion.getPatchVersion().asInt() == 3) {
return NMSVersion.NMS_1_16_3;
} }
} }
} }

View File

@ -19,6 +19,7 @@ public enum NMSVersion {
//1.16 //1.16
NMS_1_16_1("1.16.1"), NMS_1_16_1("1.16.1"),
NMS_1_16_2("1.16.2"), NMS_1_16_2("1.16.2"),
NMS_1_16_3("1.16.3"),
//Version not known to this build of mcMMO //Version not known to this build of mcMMO
UNSUPPORTED("unsupported"); UNSUPPORTED("unsupported");