Minecraft wiki entry for Dolphin%27s_Grace, associated text: Dolphins do not give this effect to players with the Invisibility effect. However, dolphins do apply the effect to invisible players with any armor piece or headgear equipped.