From 1c632788f12531baeb0905d697a68c86dd744872 Mon Sep 17 00:00:00 2001 From: Marc Baloup Date: Thu, 23 Jan 2020 17:07:34 +0100 Subject: [PATCH] Adding 1.15.2 --- src/main/java/fr/pandacube/util/MinecraftVersion.java | 9 +++++++-- 1 file changed, 7 insertions(+), 2 deletions(-) diff --git a/src/main/java/fr/pandacube/util/MinecraftVersion.java b/src/main/java/fr/pandacube/util/MinecraftVersion.java index a126372..1a4dd07 100644 --- a/src/main/java/fr/pandacube/util/MinecraftVersion.java +++ b/src/main/java/fr/pandacube/util/MinecraftVersion.java @@ -33,7 +33,8 @@ public enum MinecraftVersion { v1_14_3(490, "1.14.3"), v1_14_4(498, "1.14.4"), v1_15(573, "1.15"), - v1_15_1(575, "1.15.1"); + v1_15_1(575, "1.15.1"), + v1_15_2(578, "1.15.2"); // IMPORTANT: don't forget to update the versionMergeDisplay value when adding a new version; private static Map, List> versionMergeDisplay; @@ -95,8 +96,12 @@ public enum MinecraftVersion { versionMergeDisplay.put(EnumSet.of(v1_14_3, v1_14_4), ImmutableList.of("1.14.3", "1.14.4")); - versionMergeDisplay.put(EnumSet.of(v1_15, v1_15_1), + versionMergeDisplay.put(EnumSet.of(v1_15, v1_15_1, v1_15_2), ImmutableList.of("1.15.x")); + versionMergeDisplay.put(EnumSet.of(v1_15, v1_15_1), + ImmutableList.of("1.15", "1.15.1")); + versionMergeDisplay.put(EnumSet.of(v1_15_1, v1_15_2), + ImmutableList.of("1.15.1", "1.15.2")); }