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); + } +}