Jump to content

Recommended Posts

Posted

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)

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


×
×
  • Create New...

Important Information

This community uses essential cookies to function properly. Non-essential cookies and third-party services are used only with your consent. Read our Privacy Policy and We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue..