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

This commit is contained in:
Major- committed 2015-03-01 06:02:35 +00:00
1 parent 406329c295
commit 785e3a82aa
1 file changed
+1 -1
+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();
}
}