From dd5d8af94629d4c54b0aa0688374ea8f7a913400 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Aur=C3=A9lien?= <43724816+Aurelien30000@users.noreply.github.com> Date: Fri, 31 May 2019 15:52:53 +0200 Subject: [PATCH] Add support of 1.14.1/2 with ViaVersion extension. --- .../djrapitops/pluginbridge/plan/viaversion/Protocol.java | 8 +++----- 1 file changed, 3 insertions(+), 5 deletions(-) diff --git a/PlanPluginBridge/src/main/java/com/djrapitops/pluginbridge/plan/viaversion/Protocol.java b/PlanPluginBridge/src/main/java/com/djrapitops/pluginbridge/plan/viaversion/Protocol.java index 1f8c3a40d..54a1268af 100644 --- a/PlanPluginBridge/src/main/java/com/djrapitops/pluginbridge/plan/viaversion/Protocol.java +++ b/PlanPluginBridge/src/main/java/com/djrapitops/pluginbridge/plan/viaversion/Protocol.java @@ -36,11 +36,9 @@ public class Protocol { */ public static String getMCVersion(int protocolVersion) { switch (protocolVersion) { - case 482: - case 481: + case 485: + return "1.14.2"; case 480: - case 479: - case 478: return "1.14.1"; case 477: return "1.14"; @@ -75,7 +73,7 @@ public class Protocol { case 4: return "1.7.5"; default: - return "Newer than 1.14 (" + protocolVersion + ")"; + return "Newer than 1.14.2 (" + protocolVersion + ")"; } } }