Bungeecord support added x12
This commit is contained in:
parent
52e7bea49c
commit
ec2339fd19
@ -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 {
|
||||
|
@ -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());
|
||||
}
|
||||
|
Loading…
x
Reference in New Issue
Block a user