Ensure Player.getAddress() returns the client's address.
I mistakenly returned the server's address instead.
Dieser Commit ist enthalten in:
Ursprung
5e0000d139
Commit
d76d4247b0
@ -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
|
||||||
|
In neuem Issue referenzieren
Einen Benutzer sperren