Mirror von
https://github.com/PaperMC/Velocity.git
synchronisiert 2024-11-17 05:20:14 +01:00
add legacy connection toString (#604)
Dieser Commit ist enthalten in:
Ursprung
fd842c4364
Commit
3315397934
@ -229,5 +229,10 @@ public class HandshakeSessionHandler implements MinecraftSessionHandler {
|
|||||||
public ProtocolVersion getProtocolVersion() {
|
public ProtocolVersion getProtocolVersion() {
|
||||||
return ProtocolVersion.LEGACY;
|
return ProtocolVersion.LEGACY;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
@Override
|
||||||
|
public String toString() {
|
||||||
|
return "[legacy connection] " + this.getRemoteAddress().toString();
|
||||||
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
Laden…
In neuem Issue referenzieren
Einen Benutzer sperren