From 781d291f86e90e0b528bcde50850a6651ee09637 Mon Sep 17 00:00:00 2001 From: Marc Baloup Date: Thu, 26 Dec 2019 17:56:42 +0100 Subject: [PATCH] Adding 1.15 and 1.15.1 --- src/main/java/fr/pandacube/util/MinecraftVersion.java | 7 +++++-- 1 file changed, 5 insertions(+), 2 deletions(-) diff --git a/src/main/java/fr/pandacube/util/MinecraftVersion.java b/src/main/java/fr/pandacube/util/MinecraftVersion.java index 0209f9e..a126372 100644 --- a/src/main/java/fr/pandacube/util/MinecraftVersion.java +++ b/src/main/java/fr/pandacube/util/MinecraftVersion.java @@ -31,7 +31,9 @@ public enum MinecraftVersion { v1_14_1(480, "1.14.1"), v1_14_2(485, "1.14.2"), v1_14_3(490, "1.14.3"), - v1_14_4(498, "1.14.4"); + v1_14_4(498, "1.14.4"), + v1_15(573, "1.15"), + v1_15_1(575, "1.15.1"); // IMPORTANT: don't forget to update the versionMergeDisplay value when adding a new version; private static Map, List> versionMergeDisplay; @@ -93,7 +95,8 @@ 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), + ImmutableList.of("1.15.x")); }