From c704813a6c2762c9120754427327da042ee3728a Mon Sep 17 00:00:00 2001 From: Gerrygames Date: Tue, 14 Jan 2020 17:51:39 +0100 Subject: [PATCH] 1.15.2-pre1 --- bukkit/pom.xml | 2 +- bungee/pom.xml | 2 +- common/pom.xml | 2 +- .../ViaVersion/api/protocol/ProtocolRegistry.java | 1 + .../ViaVersion/api/protocol/ProtocolVersion.java | 2 ++ .../Protocol1_15_2To1_15_1.java | 15 +++++++++++++++ jar/pom.xml | 2 +- pom.xml | 2 +- sponge-legacy/pom.xml | 2 +- sponge/pom.xml | 2 +- velocity/pom.xml | 2 +- 11 files changed, 26 insertions(+), 8 deletions(-) create mode 100644 common/src/main/java/us/myles/ViaVersion/protocols/protocol1_15_2to1_15_1/Protocol1_15_2To1_15_1.java diff --git a/bukkit/pom.xml b/bukkit/pom.xml index 2f9b72580..53296875a 100644 --- a/bukkit/pom.xml +++ b/bukkit/pom.xml @@ -5,7 +5,7 @@ viaversion-parent us.myles - 2.2.3-SNAPSHOT + 2.2.3-1.15.2-pre1 4.0.0 diff --git a/bungee/pom.xml b/bungee/pom.xml index 4ab44f8ed..251c2dd0f 100644 --- a/bungee/pom.xml +++ b/bungee/pom.xml @@ -5,7 +5,7 @@ viaversion-parent us.myles - 2.2.3-SNAPSHOT + 2.2.3-1.15.2-pre1 4.0.0 diff --git a/common/pom.xml b/common/pom.xml index 8702fc7e4..463f021a8 100644 --- a/common/pom.xml +++ b/common/pom.xml @@ -5,7 +5,7 @@ viaversion-parent us.myles - 2.2.3-SNAPSHOT + 2.2.3-1.15.2-pre1 4.0.0 diff --git a/common/src/main/java/us/myles/ViaVersion/api/protocol/ProtocolRegistry.java b/common/src/main/java/us/myles/ViaVersion/api/protocol/ProtocolRegistry.java index db34588d7..37353b116 100644 --- a/common/src/main/java/us/myles/ViaVersion/api/protocol/ProtocolRegistry.java +++ b/common/src/main/java/us/myles/ViaVersion/api/protocol/ProtocolRegistry.java @@ -75,6 +75,7 @@ public class ProtocolRegistry { registerProtocol(new Protocol1_15To1_14_4(), Collections.singletonList(ProtocolVersion.v1_15.getId()), ProtocolVersion.v1_14_4.getId()); registerProtocol(new Protocol1_15_1To1_15(), Collections.singletonList(ProtocolVersion.v1_15_1.getId()), ProtocolVersion.v1_15.getId()); + registerProtocol(new Protocol1_15_1To1_15(), Collections.singletonList(ProtocolVersion.v1_15_2.getId()), ProtocolVersion.v1_15_1.getId()); } /** diff --git a/common/src/main/java/us/myles/ViaVersion/api/protocol/ProtocolVersion.java b/common/src/main/java/us/myles/ViaVersion/api/protocol/ProtocolVersion.java index 3890db713..94a37b9c5 100644 --- a/common/src/main/java/us/myles/ViaVersion/api/protocol/ProtocolVersion.java +++ b/common/src/main/java/us/myles/ViaVersion/api/protocol/ProtocolVersion.java @@ -42,6 +42,7 @@ public class ProtocolVersion { public static final ProtocolVersion v1_14_4; public static final ProtocolVersion v1_15; public static final ProtocolVersion v1_15_1; + public static final ProtocolVersion v1_15_2; public static final ProtocolVersion unknown; private final int id; @@ -80,6 +81,7 @@ public class ProtocolVersion { register(v1_14_4 = new ProtocolVersion(498, "1.14.4")); register(v1_15 = new ProtocolVersion(573, "1.15")); register(v1_15_1 = new ProtocolVersion(575, "1.15.1")); + register(v1_15_2 = new ProtocolVersion(576, "1.15.2")); register(unknown = new ProtocolVersion(-1, "UNKNOWN")); } diff --git a/common/src/main/java/us/myles/ViaVersion/protocols/protocol1_15_2to1_15_1/Protocol1_15_2To1_15_1.java b/common/src/main/java/us/myles/ViaVersion/protocols/protocol1_15_2to1_15_1/Protocol1_15_2To1_15_1.java new file mode 100644 index 000000000..8a6b08b40 --- /dev/null +++ b/common/src/main/java/us/myles/ViaVersion/protocols/protocol1_15_2to1_15_1/Protocol1_15_2To1_15_1.java @@ -0,0 +1,15 @@ +package us.myles.ViaVersion.protocols.protocol1_15_2to1_15_1; + +import us.myles.ViaVersion.api.data.UserConnection; +import us.myles.ViaVersion.api.protocol.Protocol; + +public class Protocol1_15_2To1_15_1 extends Protocol { + + @Override + protected void registerPackets() { + } + + @Override + public void init(UserConnection user) { + } +} diff --git a/jar/pom.xml b/jar/pom.xml index abfd81dcc..dd0e2288e 100644 --- a/jar/pom.xml +++ b/jar/pom.xml @@ -5,7 +5,7 @@ viaversion-parent us.myles - 2.2.3-SNAPSHOT + 2.2.3-1.15.2-pre1 4.0.0 viaversion-jar diff --git a/pom.xml b/pom.xml index 71746bcb6..bd5bc7cf4 100644 --- a/pom.xml +++ b/pom.xml @@ -6,7 +6,7 @@ us.myles viaversion-parent - 2.2.3-SNAPSHOT + 2.2.3-1.15.2-pre1 pom viaversion-parent diff --git a/sponge-legacy/pom.xml b/sponge-legacy/pom.xml index b017da339..9373ec598 100644 --- a/sponge-legacy/pom.xml +++ b/sponge-legacy/pom.xml @@ -5,7 +5,7 @@ viaversion-parent us.myles - 2.2.3-SNAPSHOT + 2.2.3-1.15.2-pre1 4.0.0 diff --git a/sponge/pom.xml b/sponge/pom.xml index 6a804d202..4460ad89b 100644 --- a/sponge/pom.xml +++ b/sponge/pom.xml @@ -5,7 +5,7 @@ viaversion-parent us.myles - 2.2.3-SNAPSHOT + 2.2.3-1.15.2-pre1 4.0.0 diff --git a/velocity/pom.xml b/velocity/pom.xml index b2926dc5f..c552f3892 100644 --- a/velocity/pom.xml +++ b/velocity/pom.xml @@ -5,7 +5,7 @@ viaversion-parent us.myles - 2.2.3-SNAPSHOT + 2.2.3-1.15.2-pre1 4.0.0