Program: 22360
Project: 22360
Buggy source:
@SubscribeEvent public void walkOnFluid(TickEvent.PlayerTickEvent event){
  EntityPlayer entity=event.player;
  int consumptionHydro=Config.hydrophobicConsumption;
  int consumptionPyro=Config.pyrophobicConsumption;
  IAttributeInstance attributes=entity.getEntityAttribute(SharedMonsterAttributes.movementSpeed);
  AttributeModifier modifierWater=attributes.getModifier(uuid4);
  AttributeModifier modifierLava=attributes.getModifier(uuid5);
  boolean canHydro=canWalkOnFluid(entity,consumptionHydro,SteamcraftItems.coatingsHydrophobic,modifierWater);
  boolean canPyro=canWalkOnFluid(entity,consumptionPyro,SteamcraftItems.coatingsPyrophobic,modifierLava);
  int x=MathHelper.floor_double(entity.posX);
  int y=MathHelper.floor_double(entity.boundingBox.minY - 0.11F);
  int z=MathHelper.floor_double(entity.posZ);
  Block blockUnder=entity.worldObj.getBlock(x,y,z);
  if (canHydro) {
    if (blockUnder == Blocks.water || blockUnder == Blocks.flowing_water) {
      entity.fallDistance=0;
      if (Minecraft.getMinecraft().gameSettings.keyBindJump.isPressed()) {
        entity.motionY=0.5D;
      }
 else {
        entity.motionY=0;
      }
      if (modifierWater == null) {
        attributes.applyModifier(exoWaterBoost);
      }
      SteamcraftEventHandler.drainSteam(entity.getEquipmentInSlot(3),consumptionHydro);
    }
    if (entity.isInWater()) {
      entity.jump();
      entity.fallDistance=0;
    }
  }
 else   if (modifierWater != null) {
    attributes.removeModifier(exoWaterBoost);
  }
  if (canPyro) {
    if (entity.isBurning()) {
      isWalkingInLava=true;
      entity.extinguish();
      entity.motionY=0.5;
    }
    if (blockUnder == Blocks.lava || blockUnder == Blocks.flowing_lava) {
      isWalkingInLava=true;
      if (Minecraft.getMinecraft().gameSettings.keyBindJump.isPressed()) {
        entity.motionY=0.5D;
      }
 else {
        entity.motionY=0;
      }
      if (modifierLava == null) {
        attributes.applyModifier(exoLavaBoost);
      }
      SteamcraftEventHandler.drainSteam(entity.getEquipmentInSlot(3),consumptionPyro);
    }
    if (entity.handleLavaMovement()) {
      isWalkingInLava=true;
      entity.motionY=0.5;
      entity.fallDistance=0;
    }
  }
 else   if (modifierLava != null) {
    attributes.removeModifier(exoLavaBoost);
  }
}

Fixed version (ground truth):
@SubscribeEvent public void walkOnFluid(TickEvent.PlayerTickEvent event){
  EntityPlayer entity=event.player;
  int consumptionHydro=Config.hydrophobicConsumption;
  int consumptionPyro=Config.pyrophobicConsumption;
  IAttributeInstance attributes=entity.getEntityAttribute(SharedMonsterAttributes.movementSpeed);
  AttributeModifier modifierWater=attributes.getModifier(uuid4);
  AttributeModifier modifierLava=attributes.getModifier(uuid5);
  boolean canHydro=canWalkOnFluid(entity,consumptionHydro,SteamcraftItems.coatingsHydrophobic,modifierWater);
  boolean canPyro=canWalkOnFluid(entity,consumptionPyro,SteamcraftItems.coatingsPyrophobic,modifierLava);
  int x=MathHelper.floor_double(entity.posX);
  int y=MathHelper.floor_double(entity.boundingBox.minY - 0.11F);
  int z=MathHelper.floor_double(entity.posZ);
  Block blockUnder=entity.worldObj.getBlock(x,y,z);
  if (event.side == Side.CLIENT) {
    isJumping=Minecraft.getMinecraft().gameSettings.keyBindJump.getIsKeyPressed();
  }
  if (canHydro) {
    if (blockUnder == Blocks.water || blockUnder == Blocks.flowing_water) {
      entity.fallDistance=0;
      if (isJumping) {
        entity.motionY=0.5D;
      }
 else {
        entity.motionY=0;
      }
      if (modifierWater == null) {
        attributes.applyModifier(exoWaterBoost);
      }
      SteamcraftEventHandler.drainSteam(entity.getEquipmentInSlot(3),consumptionHydro);
    }
    if (entity.isInWater()) {
      entity.jump();
      entity.fallDistance=0;
    }
  }
 else   if (modifierWater != null) {
    attributes.removeModifier(exoWaterBoost);
  }
  if (canPyro) {
    if (entity.isBurning()) {
      isWalkingInLava=true;
      entity.extinguish();
      entity.motionY=0.5;
    }
    if (blockUnder == Blocks.lava || blockUnder == Blocks.flowing_lava) {
      isWalkingInLava=true;
      if (Minecraft.getMinecraft().gameSettings.keyBindJump.isPressed()) {
        entity.motionY=0.5D;
      }
 else {
        entity.motionY=0;
      }
      if (modifierLava == null) {
        attributes.applyModifier(exoLavaBoost);
      }
      SteamcraftEventHandler.drainSteam(entity.getEquipmentInSlot(3),consumptionPyro);
    }
    if (entity.handleLavaMovement()) {
      isWalkingInLava=true;
      entity.motionY=0.5;
      entity.fallDistance=0;
    }
  }
 else   if (modifierLava != null) {
    attributes.removeModifier(exoLavaBoost);
  }
}