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