From 2f141d5f84a003a732c2eb594b87762a398d53c4 Mon Sep 17 00:00:00 2001 From: Marc Baloup Date: Sun, 7 Aug 2022 02:10:46 +0200 Subject: [PATCH] Updated MinecraftVersion with 1.19.2 --- .../main/java/fr/pandacube/lib/util/MinecraftVersion.java | 6 +++--- 1 file changed, 3 insertions(+), 3 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 24526ed..e5c7da4 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 @@ -97,8 +97,8 @@ public enum MinecraftVersion { /** Minecraft version 1.19, protocol version 759. */ v1_19(759, "1.19"), - /** Minecraft version 1.19.1, protocol version 759. */ - v1_19_1(760, "1.19.1"); + /** Minecraft versions 1.19.1 and 1.19.2, protocol version 760. */ + v1_19_1_to_1_19_2(760, "1.19.1", "1.19.2"); // IMPORTANT: don't forget to update the versionMergeDisplay value when adding a new version; @@ -195,7 +195,7 @@ 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), + versionMergeDisplay.put(EnumSet.of(v1_19, v1_19_1_to_1_19_2), List.of("1.19.x")); }