Don't send the initial events if the player is reconnecting.

This commit is contained in:
Major-
2015-03-01 06:02:35 +00:00
parent 406329c295
commit 785e3a82aa
+1 -1
View File
@@ -131,7 +131,7 @@ public final class LoginSession extends Session {
future.addListener(ChannelFutureListener.CLOSE);
}
if (optional.isPresent()) {
if (optional.isPresent() && request.isReconnecting()) {
optional.get().sendInitialMessages();
}
}