This commit is contained in:
nossr50
2020-08-11 16:13:11 -07:00
parent e890d4bae6
commit a2f2614b10
4 changed files with 25 additions and 2 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");