Program: 174647
Project: 174647
Buggy source:
@SubscribeEvent public void onPlayerTick(PlayerTickEvent event){
  if (event.phase == Phase.START && !event.player.getEntityWorld().isRemote) {
    if (ticks % 20 == 0) {
      PlayerInformation playerInfo=(PlayerInformation)event.player.getCapability(CapabilityPlayerInformation.PLAYER_INFORMATION,null);
      if (playerInfo != null) {
        if (event.player.inventory.getCurrentItem() != mainhand && playerInfo.getPlayerLevel() >= NBTHelper.loadStackNBT(event.player.inventory.getCurrentItem()).getInteger("String_Node_Str")) {
          updateStats(event.player,playerInfo);
          mainhand=event.player.inventory.getCurrentItem();
        }
        for (        ItemStack stack : event.player.inventory.armorInventory) {
          if (stack.getItem() instanceof ItemArmor && playerInfo.getPlayerLevel() >= NBTHelper.loadStackNBT(stack).getInteger("String_Node_Str")) {
            if (((ItemArmor)stack.getItem()).getEquipmentSlot() == EntityEquipmentSlot.HEAD && stack != helmet) {
              updateStats(event.player,playerInfo);
              helmet=stack;
            }
 else             if (((ItemArmor)stack.getItem()).getEquipmentSlot() == EntityEquipmentSlot.CHEST && stack != chestplate) {
              updateStats(event.player,playerInfo);
              chestplate=stack;
            }
 else             if (((ItemArmor)stack.getItem()).getEquipmentSlot() == EntityEquipmentSlot.LEGS && stack != leggings) {
              updateStats(event.player,playerInfo);
              leggings=stack;
            }
 else             if (((ItemArmor)stack.getItem()).getEquipmentSlot() == EntityEquipmentSlot.FEET && stack != boots) {
              updateStats(event.player,playerInfo);
              boots=stack;
            }
          }
        }
      }
      ticks=0;
    }
    if (regenTicks % 100 == 0) {
      Stats statsCap=(Stats)event.player.getCapability(CapabilityPlayerStats.STATS,null);
      if (statsCap != null) {
        if (statsCap.getMana() < statsCap.getMaxMana()) {
          statsCap.increaseMana(statsCap.getManaPerSecond());
        }
        if (event.player.getHealth() < event.player.getMaxHealth()) {
          event.player.heal(statsCap.getHealthPerSecond());
        }
        LostEclipse.network.sendTo(new PacketUpdateStats(statsCap),(EntityPlayerMP)event.player);
      }
      regenTicks=0;
    }
    ticks++;
    regenTicks++;
  }
}

Fixed version (ground truth):
@SubscribeEvent public void onPlayerTick(PlayerTickEvent event){
  if (event.phase == Phase.START && !event.player.getEntityWorld().isRemote) {
    if (ticks % 10 == 0) {
      PlayerInformation playerInfo=(PlayerInformation)event.player.getCapability(CapabilityPlayerInformation.PLAYER_INFORMATION,null);
      if (playerInfo != null) {
        if (event.player.inventory.getCurrentItem() != mainhand && playerInfo.getPlayerLevel() >= NBTHelper.loadStackNBT(event.player.inventory.getCurrentItem()).getInteger("String_Node_Str")) {
          updateStats(event.player,playerInfo);
          mainhand=event.player.inventory.getCurrentItem();
        }
        for (        ItemStack stack : event.player.inventory.armorInventory) {
          if (stack.getItem() instanceof ItemArmor && playerInfo.getPlayerLevel() >= NBTHelper.loadStackNBT(stack).getInteger("String_Node_Str")) {
            if (((ItemArmor)stack.getItem()).getEquipmentSlot() == EntityEquipmentSlot.HEAD && stack != helmet) {
              updateStats(event.player,playerInfo);
              helmet=stack;
            }
 else             if (((ItemArmor)stack.getItem()).getEquipmentSlot() == EntityEquipmentSlot.CHEST && stack != chestplate) {
              updateStats(event.player,playerInfo);
              chestplate=stack;
            }
 else             if (((ItemArmor)stack.getItem()).getEquipmentSlot() == EntityEquipmentSlot.LEGS && stack != leggings) {
              updateStats(event.player,playerInfo);
              leggings=stack;
            }
 else             if (((ItemArmor)stack.getItem()).getEquipmentSlot() == EntityEquipmentSlot.FEET && stack != boots) {
              updateStats(event.player,playerInfo);
              boots=stack;
            }
          }
        }
      }
      ticks=0;
    }
    if (regenTicks % 100 == 0) {
      Stats statsCap=(Stats)event.player.getCapability(CapabilityPlayerStats.STATS,null);
      if (statsCap != null) {
        if (statsCap.getMana() < statsCap.getMaxMana()) {
          statsCap.increaseMana(statsCap.getManaPerSecond());
        }
        if (event.player.getHealth() < event.player.getMaxHealth()) {
          event.player.heal(statsCap.getHealthPerSecond());
        }
        LostEclipse.network.sendTo(new PacketUpdateStats(statsCap),(EntityPlayerMP)event.player);
      }
      regenTicks=0;
    }
    ticks++;
    regenTicks++;
  }
}