Make ServerboundHandshakePacket immutable

This commit is contained in:
Andrew Steinborn
2021-04-23 19:16:47 -04:00
parent 3dc3c40c33
commit f00b9b73ea
9 changed files with 52 additions and 75 deletions

View File

@@ -29,7 +29,7 @@ public interface InboundConnection {
*
* @return the hostname from the client
*/
Optional<InetSocketAddress> connectedHost();
Optional<InetSocketAddress> connectedHostname();
/**
* Determine whether or not the player remains online.