Jump to content

[Share]Cannot Talking while Char is dead


Grim.

Recommended Posts

So this will save your server from players that when they are dying they are swering.

### Eclipse Workspace Patch 1.0
#P L2_GameServer_It
Index: java/net/sf/l2j/gameserver/clientpackets/Say2.java
===================================================================
--- java/net/sf/l2j/gameserver/clientpackets/Say2.java	(revision 3721)
+++ java/net/sf/l2j/gameserver/clientpackets/Say2.java	(working copy)
@@ -128,7 +128,15 @@
			{
				activeChar.sendMessage("You may not chat while a chat ban is in effect.");
				return;
-			}
+		  }
+	        if (activeChar.isDead()) 
+	        { 
+	                activeChar.sendMessage("You cant talk while you are dead"); 
+	                return; 
+	    } 
+		
+		
+		
		}

         if (activeChar.isInJail() && Config.JAIL_DISABLE_CHAT)

Link to comment
Share on other sites

  • 7 months later...
  • 2 years later...
Guest
This topic is now closed to further replies.


×
×
  • Create New...