From 7cdd1befdc1fb7ea8aafcb5e1a5dddf2f0712f66 Mon Sep 17 00:00:00 2001 From: Marc Baloup Date: Fri, 5 Jul 2019 22:16:09 +0200 Subject: [PATCH] Adding version 1.14.3 --- .../java/fr/pandacube/java/util/MinecraftVersion.java | 11 +++++++++-- 1 file changed, 9 insertions(+), 2 deletions(-) diff --git a/src/main/java/fr/pandacube/java/util/MinecraftVersion.java b/src/main/java/fr/pandacube/java/util/MinecraftVersion.java index 419b0d1..69b4a11 100644 --- a/src/main/java/fr/pandacube/java/util/MinecraftVersion.java +++ b/src/main/java/fr/pandacube/java/util/MinecraftVersion.java @@ -29,7 +29,8 @@ public enum MinecraftVersion { v1_13_2(404, "1.13.2"), v1_14(477, "1.14"), v1_14_1(480, "1.14.1"), - v1_14_2(485, "1.14.2"); + v1_14_2(485, "1.14.2"), + v1_14_3(490, "1.14.3"); // IMPORTANT: don't forget to update the versionMergeDisplay value when adding a new version; private static Map, List> versionMergeDisplay; @@ -70,12 +71,18 @@ public enum MinecraftVersion { versionMergeDisplay.put(EnumSet.of(v1_13_1, v1_13_2), ImmutableList.of("1.13.1", "1.13.2")); - versionMergeDisplay.put(EnumSet.of(v1_14, v1_14_1, v1_14_2), + versionMergeDisplay.put(EnumSet.of(v1_14, v1_14_1, v1_14_2, v1_14_3), ImmutableList.of("1.14.x")); + versionMergeDisplay.put(EnumSet.of(v1_14, v1_14_1, v1_14_2), + ImmutableList.of("1.14-1.14.2")); versionMergeDisplay.put(EnumSet.of(v1_14, v1_14_1), ImmutableList.of("1.14", "1.14.1")); + versionMergeDisplay.put(EnumSet.of(v1_14_1, v1_14_2, v1_14_3), + ImmutableList.of("1.14.1-1.14.3")); versionMergeDisplay.put(EnumSet.of(v1_14_1, v1_14_2), ImmutableList.of("1.14.1", "1.14.2")); + versionMergeDisplay.put(EnumSet.of(v1_14_2, v1_14_3), + ImmutableList.of("1.14.2", "1.14.3")); }