mirror of
https://github.com/2006-Scape/apollo.git
synced 2026-07-05 08:40:08 +00:00
Don't send the initial events if the player is reconnecting.
This commit is contained in:
@@ -131,7 +131,7 @@ public final class LoginSession extends Session {
|
|||||||
future.addListener(ChannelFutureListener.CLOSE);
|
future.addListener(ChannelFutureListener.CLOSE);
|
||||||
}
|
}
|
||||||
|
|
||||||
if (optional.isPresent()) {
|
if (optional.isPresent() && request.isReconnecting()) {
|
||||||
optional.get().sendInitialMessages();
|
optional.get().sendInitialMessages();
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user