20-11-2010, 07:53 PM
|
#1 (permalink)
|
|
Membro - Tenente
Registrado em: Mar 2010
Posts: 106
Agradecido 140 Vezes em 45 Posts
Achei Ruim:
Acharam ruim Vezes em Posts
Meu Estado:
|
Block Chat para Mortos
Com Este Mod, todos os chats são desabilitados enquanto o player está Morto
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 cannot talk while you are dead");
+ return;
+ }
}
if (activeChar.isInJail() && Config.JAIL_DISABLE_CHAT)
Créditos: MaCe
|
|
|