Gestion de la fusion des versions de MC 1.11 (pour l'affichage)
This commit is contained in:
parent
8ef1f9f5cb
commit
48bbec7ff0
@ -74,6 +74,12 @@ public enum MinecraftVersion {
|
||||
versions.remove(v1_10);
|
||||
ret.add("1.10");
|
||||
}
|
||||
// grouping 1.11 versions
|
||||
if (versions.contains(v1_11) && versions.contains(v1_11_1_to_1_11_2)) {
|
||||
versions.remove(v1_11);
|
||||
versions.remove(v1_11_1_to_1_11_2);
|
||||
ret.add("1.11");
|
||||
}
|
||||
|
||||
for (MinecraftVersion v : versions)
|
||||
ret.add(v.versionDisplay);
|
||||
|
Loading…
Reference in New Issue
Block a user