From 80cc70a5709a9a27d426ef38fa84cbb866358ac5 Mon Sep 17 00:00:00 2001 From: Marc Baloup Date: Thu, 8 Jul 2021 23:00:55 +0200 Subject: [PATCH] Added 1.17.1 in MinecraftVersion --- .../java/fr/pandacube/lib/core/util/MinecraftVersion.java | 8 ++++++-- 1 file changed, 6 insertions(+), 2 deletions(-) diff --git a/Core/src/main/java/fr/pandacube/lib/core/util/MinecraftVersion.java b/Core/src/main/java/fr/pandacube/lib/core/util/MinecraftVersion.java index 3ed637f..7665c2c 100644 --- a/Core/src/main/java/fr/pandacube/lib/core/util/MinecraftVersion.java +++ b/Core/src/main/java/fr/pandacube/lib/core/util/MinecraftVersion.java @@ -49,8 +49,9 @@ public enum MinecraftVersion { v1_16_2(751, "1.16.2"), v1_16_3(753, "1.16.3"), v1_16_4_to_1_16_5(754, "1.16.4", "1.16.5"), - - v1_17(755, "1.17"); + + v1_17(755, "1.17"), + v1_17_1(756, "1.17.1"); // IMPORTANT: don't forget to update the versionMergeDisplay value when adding a new version; private static Map, List> versionMergeDisplay; @@ -139,6 +140,9 @@ public enum MinecraftVersion { ImmutableList.of("1.16.2", "1.16.3")); versionMergeDisplay.put(EnumSet.of(v1_16_3, v1_16_4_to_1_16_5), ImmutableList.of("1.16.3-1.16.5")); + + versionMergeDisplay.put(EnumSet.of(v1_17, v1_17_1), + ImmutableList.of("1.17.x")); }