Add NMS definition for 1.16.4

This commit is contained in:
nossr50 2020-10-26 16:52:43 -07:00
parent e6e9fdca31
commit 33287b650f
2 changed files with 3 additions and 0 deletions

View File

@ -124,6 +124,8 @@ public class CompatibilityManager {
return NMSVersion.NMS_1_16_2;
} else if(minecraftGameVersion.getPatchVersion().asInt() == 3) {
return NMSVersion.NMS_1_16_3;
} else if(minecraftGameVersion.getPatchVersion().asInt() >= 4) {
return NMSVersion.NMS_1_16_4;
}
}
}

View File

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