Archiviert
13
0

Ensure Player.getAddress() returns the client's address.

I mistakenly returned the server's address instead.
Dieser Commit ist enthalten in:
Kristian S. Stangeland 2014-03-16 03:51:44 +01:00
Ursprung 5e0000d139
Commit d76d4247b0

Datei anzeigen

@ -655,7 +655,7 @@ class ChannelInjector extends ByteToMessageDecoder implements Injector {
@Override @Override
public SocketAddress getAddress() throws IllegalAccessException { public SocketAddress getAddress() throws IllegalAccessException {
return injector.originalChannel.localAddress(); return injector.originalChannel.remoteAddress();
} }
@Override @Override