add legacy connection toString (#604)
This commit is contained in:
@@ -229,5 +229,10 @@ public class HandshakeSessionHandler implements MinecraftSessionHandler {
|
||||
public ProtocolVersion getProtocolVersion() {
|
||||
return ProtocolVersion.LEGACY;
|
||||
}
|
||||
|
||||
@Override
|
||||
public String toString() {
|
||||
return "[legacy connection] " + this.getRemoteAddress().toString();
|
||||
}
|
||||
}
|
||||
}
|
||||
|
Reference in New Issue
Block a user