minor nms tweak

This commit is contained in:
nossr50 2020-09-08 19:38:35 -07:00
parent 2810d36e08
commit 621ccfed34
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");