From b79bf429f7aa86ca22ac15f6ef859bcdc0fe3f9e Mon Sep 17 00:00:00 2001 From: KennyTV Date: Wed, 24 Jun 2020 14:16:21 +0200 Subject: [PATCH] 1.16.1 --- .../matsv/viabackwards/api/ViaBackwardsPlatform.java | 2 ++ .../protocol1_16_1to1_16_1/Protocol1_16To1_16_1.java | 12 ++++++++++++ 2 files changed, 14 insertions(+) create mode 100644 core/src/main/java/nl/matsv/viabackwards/protocol/protocol1_16_1to1_16_1/Protocol1_16To1_16_1.java diff --git a/core/src/main/java/nl/matsv/viabackwards/api/ViaBackwardsPlatform.java b/core/src/main/java/nl/matsv/viabackwards/api/ViaBackwardsPlatform.java index 3de7b1e9..a36c3e60 100644 --- a/core/src/main/java/nl/matsv/viabackwards/api/ViaBackwardsPlatform.java +++ b/core/src/main/java/nl/matsv/viabackwards/api/ViaBackwardsPlatform.java @@ -30,6 +30,7 @@ import nl.matsv.viabackwards.protocol.protocol1_14to1_14_1.Protocol1_14To1_14_1; import nl.matsv.viabackwards.protocol.protocol1_15_1to1_15_2.Protocol1_15_1To1_15_2; import nl.matsv.viabackwards.protocol.protocol1_15_2to1_16.Protocol1_15_2To1_16; import nl.matsv.viabackwards.protocol.protocol1_15to1_15_1.Protocol1_15To1_15_1; +import nl.matsv.viabackwards.protocol.protocol1_16_1to1_16_1.Protocol1_16To1_16_1; import nl.matsv.viabackwards.protocol.protocol1_9_4to1_10.Protocol1_9_4To1_10; import us.myles.ViaVersion.api.Via; import us.myles.ViaVersion.api.protocol.ProtocolVersion; @@ -86,6 +87,7 @@ public interface ViaBackwardsPlatform { registerProtocol(new Protocol1_15_1To1_15_2(), ProtocolVersion.v1_15_1, ProtocolVersion.v1_15_2); registerProtocol(new Protocol1_15_2To1_16(), ProtocolVersion.v1_15_2, ProtocolVersion.v1_16); + registerProtocol(new Protocol1_16To1_16_1(), ProtocolVersion.v1_16, ProtocolVersion.v1_16_1); } /** diff --git a/core/src/main/java/nl/matsv/viabackwards/protocol/protocol1_16_1to1_16_1/Protocol1_16To1_16_1.java b/core/src/main/java/nl/matsv/viabackwards/protocol/protocol1_16_1to1_16_1/Protocol1_16To1_16_1.java new file mode 100644 index 00000000..8ce88dce --- /dev/null +++ b/core/src/main/java/nl/matsv/viabackwards/protocol/protocol1_16_1to1_16_1/Protocol1_16To1_16_1.java @@ -0,0 +1,12 @@ +package nl.matsv.viabackwards.protocol.protocol1_16_1to1_16_1; + +import nl.matsv.viabackwards.api.BackwardsProtocol; +import us.myles.ViaVersion.protocols.protocol1_16to1_15_2.ClientboundPackets1_16; +import us.myles.ViaVersion.protocols.protocol1_16to1_15_2.ServerboundPackets1_16; + +public class Protocol1_16To1_16_1 extends BackwardsProtocol { + + public Protocol1_16To1_16_1() { + super(ClientboundPackets1_16.class, ClientboundPackets1_16.class, ServerboundPackets1_16.class, ServerboundPackets1_16.class); + } +}