Use correct version to get base protocol

This commit is contained in:
FlorianMichael 2024-07-18 14:21:09 +02:00
parent 33ff7c444d
commit 6bdded7061
No known key found for this signature in database
GPG Key ID: C2FB87E71C425126

View File

@ -50,7 +50,7 @@ public class ProtocolCombatTest8cTo1_16_2 extends AbstractProtocol<ClientboundPa
@Override
public void init(UserConnection userConnection) {
userConnection.getProtocolInfo().getPipeline().add(Via.getManager().getProtocolManager().getBaseProtocol(ProtocolVersion.v1_16));
userConnection.getProtocolInfo().getPipeline().add(Via.getManager().getProtocolManager().getBaseProtocol(ProtocolVersion.v1_16_2));
}
}