{
for(L2Player player : L2World.getAroundPlayers(npc, 10000, 1500))
{
if(player != null && !player.isBlockAll())
{
player.sendPacket(new NpcSay(npc, 1, new CustomMessage(address, player, replacements).toString()));
}
}
}
else
{
int mapregion = MapRegion.getInstance().getMapRegion(npc.getX(), npc.getY());
for(L2Player player : L2ObjectsStorage.getAllPlayersForIterate())
{
if(player != null && MapRegion.getInstance().getMapRegion(player.getX(), player.getY()) == mapregion && !player.isBlockAll())
{
player.sendPacket(new NpcSay(npc, 1, new CustomMessage(address, player, replacements).toString()));
}
}
}
}