Renamed TELL and NPC_TELL chat types, also fixed minor typo in L2PcInstance.
Source L2J Ertheia branch: https://github.com/L2J/L2J_Server/commit/48e9f32edeb586e694bea53da1606602bc1f0b15 https://github.com/L2J/L2J_DataPack/commit/9e6d13a293dcae148df7734032841c8801385121
This commit is contained in:
@@ -67,7 +67,7 @@ public class ChatsHandler implements ITelnetHandler
|
||||
String name = st.nextToken();
|
||||
String message = val.substring(name.length() + 1);
|
||||
L2PcInstance reciever = L2World.getInstance().getPlayer(name);
|
||||
CreatureSay cs = new CreatureSay(0, ChatType.TELL, "Telnet Priv", message);
|
||||
CreatureSay cs = new CreatureSay(0, ChatType.WHISPER, "Telnet Priv", message);
|
||||
if (reciever != null)
|
||||
{
|
||||
reciever.sendPacket(cs);
|
||||
|
||||
Reference in New Issue
Block a user