Config to disable World chat.
This commit is contained in:
@@ -188,6 +188,11 @@ public class DailyTaskManager extends AbstractEventManager<AbstractEvent<?>>
|
||||
|
||||
private void resetWorldChatPoints()
|
||||
{
|
||||
if (!Config.ENABLE_WORLD_CHAT)
|
||||
{
|
||||
return;
|
||||
}
|
||||
|
||||
// Update data for offline players.
|
||||
try (Connection con = DatabaseFactory.getInstance().getConnection();
|
||||
PreparedStatement ps = con.prepareStatement("UPDATE character_variables SET val = ? WHERE var = ?"))
|
||||
|
@@ -641,7 +641,10 @@ public class EnterWorld implements IClientIncomingPacket
|
||||
}
|
||||
|
||||
activeChar.sendPacket(new ExAcquireAPSkillList(activeChar));
|
||||
activeChar.sendPacket(new ExWorldChatCnt(activeChar));
|
||||
if (Config.ENABLE_WORLD_CHAT)
|
||||
{
|
||||
activeChar.sendPacket(new ExWorldChatCnt(activeChar));
|
||||
}
|
||||
activeChar.sendPacket(new ExOneDayReceiveRewardList(activeChar));
|
||||
activeChar.sendPacket(ExConnectedTimeAndGettableReward.STATIC_PACKET);
|
||||
|
||||
|
Reference in New Issue
Block a user