Minecraft wiki entry for Sparkler, associated text: If the player has a lit sparkler in their inventory and goes into the water, the sparkler is destroyed immediately. It, however, doesn't get destroyed if dropped in water. It also cannot float.