Pretty easy - you can't change the wave settings for closed environments (harbours). This function is only available for open sea areas.