From 01c5c5dc65dbe48ae60c57bb0b41841b6b18b79c Mon Sep 17 00:00:00 2001 From: Risto Lahtela Date: Tue, 28 May 2019 20:32:56 +0300 Subject: [PATCH 1/2] Update versions.txt --- versions.txt | 1 + 1 file changed, 1 insertion(+) diff --git a/versions.txt b/versions.txt index c356894c3..72e67dca3 100644 --- a/versions.txt +++ b/versions.txt @@ -1,3 +1,4 @@ +REL|4.8.5|https://github.com/plan-player-analytics/Plan/releases/download/4.8.5/Plan-4.8.5.jar|https://github.com/plan-player-analytics/Plan/releases/tag/4.8.5 REL|4.8.3|https://github.com/plan-player-analytics/Plan/releases/download/4.8.3/Plan-4.8.3.jar|https://github.com/plan-player-analytics/Plan/releases/tag/4.8.3 REL|4.8.2|https://github.com/plan-player-analytics/Plan/releases/download/4.8.2/Plan-4.8.2.jar|https://github.com/plan-player-analytics/Plan/releases/tag/4.8.2 DEV|4.8.1-b5|https://github.com/plan-player-analytics/Plan/releases/download/4.8.2-DEV5/Plan-4.8.1-b5.jar|https://github.com/plan-player-analytics/Plan/releases/tag/4.8.2-DEV5 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 2/2] 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 + ")"; } } }