Bungeecord support added x12

This commit is contained in:
Michael Wain 2025-03-21 23:45:04 +03:00
parent 52e7bea49c
commit ec2339fd19
2 changed files with 1 additions and 10 deletions

View File

@ -32,15 +32,6 @@ import static com.alterdekim.xcraft.auth.bungee.XCraft.INTERNAL_PORT;
public class EncryptionResponsePacket extends EncryptionResponse {
@Override
public void read(ByteBuf buf, ProtocolConstants.Direction direction, int protocolVersion) {
super.read(buf, direction, protocolVersion);
}
@Override
public void write(ByteBuf buf, ProtocolConstants.Direction direction, int protocolVersion) {
super.write(buf, direction, protocolVersion);
}
@Override
public void handle(AbstractPacketHandler handler) throws Exception {

View File

@ -54,7 +54,7 @@ public class XCraft extends Plugin {
@Override
public void onEnable() {
try {
for(int v : ProtocolConstants.SUPPORTED_VERSION_IDS) injectListener(v);
injectListener(47);
} catch(Exception e) {
getLogger().severe("Error injecting auth packet. " + e.getMessage());
}