From bc4e8ba2610a70a91a4800a9af072e77f95e50fb Mon Sep 17 00:00:00 2001 From: Marc Baloup Date: Wed, 27 Jul 2022 23:31:13 +0200 Subject: [PATCH] Added 1.19.1 --- .../main/java/fr/pandacube/lib/util/MinecraftVersion.java | 8 ++++++-- 1 file changed, 6 insertions(+), 2 deletions(-) diff --git a/pandalib-util/src/main/java/fr/pandacube/lib/util/MinecraftVersion.java b/pandalib-util/src/main/java/fr/pandacube/lib/util/MinecraftVersion.java index c70546b..4bab180 100644 --- a/pandalib-util/src/main/java/fr/pandacube/lib/util/MinecraftVersion.java +++ b/pandalib-util/src/main/java/fr/pandacube/lib/util/MinecraftVersion.java @@ -53,8 +53,9 @@ public enum MinecraftVersion { v1_18_to_1_18_1(757, "1.18", "1.18.1"), v1_18_2(758, "1.18.2"), - - v1_19(759, "1.19"); + v1_19(759, "1.19"), + v1_19_1(760, "1.19.1"); + // IMPORTANT: don't forget to update the versionMergeDisplay value when adding a new version; private static final Map, List> versionMergeDisplay; @@ -149,6 +150,9 @@ public enum MinecraftVersion { versionMergeDisplay.put(EnumSet.of(v1_18_to_1_18_1, v1_18_2), List.of("1.18.x")); + + versionMergeDisplay.put(EnumSet.of(v1_19, v1_19_1), + List.of("1.19.x")); }