2
0
Эх сурвалжийг харах

No need to logout already logged-out chars, thanks odisey for reporting.

_DS_ 15 жил өмнө
parent
commit
3a47734f71

+ 2 - 1
L2_GameServer/java/com/l2jserver/gameserver/network/L2GameClient.java

@@ -706,7 +706,8 @@ public final class L2GameClient extends MMOClient<MMOConnection<L2GameClient>>
 					// to prevent call cleanMe() again
 					// to prevent call cleanMe() again
 					setDetached(false);
 					setDetached(false);
 
 
-					player.logout();
+					if (player.isOnline() > 0)
+						player.logout();
 
 
 					player.setClient(null);
 					player.setClient(null);
 				}
 				}