Sync with L2JServer Feb 7th 2015.
This commit is contained in:
@ -18,6 +18,7 @@
|
||||
*/
|
||||
package com.l2jserver.gameserver.model.events.impl.character.player;
|
||||
|
||||
import com.l2jserver.gameserver.enums.ChatType;
|
||||
import com.l2jserver.gameserver.model.actor.instance.L2PcInstance;
|
||||
import com.l2jserver.gameserver.model.events.EventType;
|
||||
import com.l2jserver.gameserver.model.events.impl.IBaseEvent;
|
||||
@ -30,9 +31,9 @@ public class OnPlayerChat implements IBaseEvent
|
||||
private final L2PcInstance _activeChar;
|
||||
private final L2PcInstance _target;
|
||||
private final String _text;
|
||||
private final int _type;
|
||||
private final ChatType _type;
|
||||
|
||||
public OnPlayerChat(L2PcInstance activeChar, L2PcInstance target, String text, int type)
|
||||
public OnPlayerChat(L2PcInstance activeChar, L2PcInstance target, String text, ChatType type)
|
||||
{
|
||||
_activeChar = activeChar;
|
||||
_target = target;
|
||||
@ -55,7 +56,7 @@ public class OnPlayerChat implements IBaseEvent
|
||||
return _text;
|
||||
}
|
||||
|
||||
public int getChatType()
|
||||
public ChatType getChatType()
|
||||
{
|
||||
return _type;
|
||||
}
|
||||
|
Reference in New Issue
Block a user