- Timestamp:
- Jan 16, 2012 7:56:19 AM (4 months ago)
- Location:
- trunk/L2J_DataPack
- Files:
-
- 2 edited
-
. (modified) (1 prop)
-
dist/game/data/scripts/handlers/chathandlers/ChatAll.java (modified) (6 diffs)
Legend:
- Unmodified
- Added
- Removed
-
trunk/L2J_DataPack
- Property svn:mergeinfo changed
/branches/unstable/L2J_DataPack_BETA merged: 8407-8426,8428-8480,8482-8491,8493-8588,8590-8629
- Property svn:mergeinfo changed
-
trunk/L2J_DataPack/dist/game/data/scripts/handlers/chathandlers/ChatAll.java
r8406 r8630 27 27 import com.l2jserver.gameserver.network.SystemMessageId; 28 28 import com.l2jserver.gameserver.network.serverpackets.CreatureSay; 29 import com.l2jserver.gameserver.network.serverpackets.SystemMessage;30 29 import com.l2jserver.gameserver.util.Util; 31 30 … … 47 46 /** 48 47 * Handle chat type 'all' 49 * @see com.l2jserver.gameserver.handler.IChatHandler#handleChat(int, com.l2jserver.gameserver.model.actor.instance.L2PcInstance, java.lang.String )48 * @see com.l2jserver.gameserver.handler.IChatHandler#handleChat(int, com.l2jserver.gameserver.model.actor.instance.L2PcInstance, java.lang.String, java.lang.String) 50 49 */ 51 50 @Override … … 63 62 command = st.nextToken().substring(1); 64 63 params = text.substring(command.length() + 2); 65 vch = VoicedCommandHandler.getInstance().get VoicedCommandHandler(command);64 vch = VoicedCommandHandler.getInstance().getHandler(command); 66 65 } 67 66 else … … 70 69 if (Config.DEBUG) 71 70 _log.info("Command: " + command); 72 vch = VoicedCommandHandler.getInstance().get VoicedCommandHandler(command);71 vch = VoicedCommandHandler.getInstance().getHandler(command); 73 72 } 74 73 if (vch != null) … … 88 87 if (activeChar.isChatBanned() && Util.contains(Config.BAN_CHAT_CHANNELS, type)) 89 88 { 90 activeChar.sendPacket(SystemMessage .getSystemMessage(SystemMessageId.CHATTING_IS_CURRENTLY_PROHIBITED));89 activeChar.sendPacket(SystemMessageId.CHATTING_IS_CURRENTLY_PROHIBITED); 91 90 return; 92 91 } … … 97 96 */ 98 97 if (text.matches("\\.{1}[^\\.]+")) 99 activeChar.sendPacket(SystemMessage .getSystemMessage(SystemMessageId.INCORRECT_SYNTAX));98 activeChar.sendPacket(SystemMessageId.INCORRECT_SYNTAX); 100 99 else 101 100 {
Note: See TracChangeset
for help on using the changeset viewer.
