1 2 3 4 5 6 7 8 9 10
--- a/net/minecraft/network/Connection.java +++ b/net/minecraft/network/Connection.java @@ -97,6 +105,7 @@ private volatile Component delayedDisconnect; @Nullable BandwidthDebugMonitor bandwidthDebugMonitor; + public String hostname = ""; // CraftBukkit - add field public Connection(PacketFlow receiving) { this.receiving = receiving;