From aa2a04b466810da5e62711dfc07bd67b5e219d15 Mon Sep 17 00:00:00 2001 From: MobiusDev <8391001+MobiusDevelopment@users.noreply.github.com> Date: Sat, 10 Oct 2015 21:24:32 +0000 Subject: [PATCH] Making sure player is not on offline mode when forcing logout. --- trunk/java/com/l2jserver/gameserver/Shutdown.java | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/trunk/java/com/l2jserver/gameserver/Shutdown.java b/trunk/java/com/l2jserver/gameserver/Shutdown.java index 607cd9bd4a..73a8629a55 100644 --- a/trunk/java/com/l2jserver/gameserver/Shutdown.java +++ b/trunk/java/com/l2jserver/gameserver/Shutdown.java @@ -578,7 +578,7 @@ public class Shutdown extends Thread client.setActiveChar(null); player.setClient(null); } - else + else if (!player.isInOfflineMode()) // player is probably a bot - force logout { player.logout();