Jump to content

[Share]Cannot Talking while Char is dead


Grim.
 Share

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.
 Share



×
×
  • Create New...

AdBlock Extension Detected!

Our website is made possible by displaying online advertisements to our members.

Please disable AdBlock browser extension first, to be able to use our community.

I've Disabled AdBlock