UID1
阅读权限200
威望 点
积分5888838
注册时间2009-1-1
最后登录1970-1-1
听众
收听
升级
100%
群组: JRO日本客户端
|
CM_CHAT_MESSAGE_WHISPER.java
查找
sendPacket(SM_SYSTEM_MESSAGE.PLAYER_IS_OFFLINE(formatname));
}
else if(sender.getLevel() < CustomConfig.LEVEL_TO_WHISPER)
{
sendPacket(SM_SYSTEM_MESSAGE.LEVEL_NOT_ENOUGH_FOR_WHISPER(String.valueOf(CustomConfig.LEVEL_TO_WHISPER)));
}
else if (receiver.getBlockList().contains(sender.getObjectId()))
{
sendPacket(SM_SYSTEM_MESSAGE.YOU_ARE_BLOCKED_BY(receiver.getName()));
}
else
{
if(RestrictionsManager.canChat(sender))
PacketSendUtility.sendPacket(receiver, new SM_MESSAGE(sender, message, ChatType.WHISPER));
}
}
}
替换成
sendPacket(SM_SYSTEM_MESSAGE.PLAYER_IS_OFFLINE(formatname));
return;
}
else if (CustomConfig.WHISPER_LEVEL_REQUIRE && sender.getLevel() <= CustomConfig.WHISPER_LEVEL)
{
sendPacket(SM_SYSTEM_MESSAGE.LEVEL_NOT_ENOUGH_FOR_WHISPER(Integer.toString(CustomConfig.WHISPER_LEVEL + 1)));
}
else if (receiver.getBlockList().contains(sender.getObjectId()))
{
sendPacket(SM_SYSTEM_MESSAGE.YOU_ARE_BLOCKED_BY(receiver.getName()));
}
else
{
if (RestrictionsManager.canChat(sender))
PacketSendUtility.sendPacket(receiver, new SM_MESSAGE(sender, message, ChatType.WHISPER));
}
}
} |
温馨提示:
1. 本站模拟器源于网络,经 99Max.mE 二次开发,仅供个人学习娱乐使用,切勿用于商业用途,否则后果自负!
2. 如需更好体验游戏内容,请前往官方游戏!不具备合法的运营模式,都是强盗,请勿擅自搭建私服!
3. 如本站内容有侵犯您的权益,请发送信息至QQ:372607220 或 EMAIL:372607220@qq.com ,我们会及时删除。
|