That is not a true flaming sword. MC created a magic artifact incapable of being affected by water. Now if he was stupid enough to think a normal flaming sword would work underwater it be evaporated in seconds, or require constant focus using willpower which result a soon to be massive headache.