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

This commit is contained in:
nossr50
2020-08-11 20:44:13 -07:00
4 changed files with 24 additions and 1 deletions

View File

@ -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;
}
}
}

View File

@ -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");