package de.iani.cubequest.quests;

import de.iani.cubequest.Reward;
import de.iani.cubequest.conditions.GameModeCondition;
import de.iani.cubequest.conditions.ServerFlagCondition;
import org.bukkit.GameMode;


public abstract class EconomyInfluencingAmountQuest extends AmountQuest {
    
    public static final String SURVIVAL_ECONOMY_TAG = "survival_economy";
    
    public EconomyInfluencingAmountQuest(int id, String name, String displayMessage,
            String giveMessage, String successMessage, Reward successReward, int amount) {
        super(id, name, displayMessage, giveMessage, successMessage, successReward, amount);
        init();
    }
    
    public EconomyInfluencingAmountQuest(int id, String name, String displayMessage,
            String giveMessage, String successMessage, Reward successReward) {
        super(id, name, displayMessage, giveMessage, successMessage, successReward, 0);
        init();
    }
    
    public EconomyInfluencingAmountQuest(int id) {
        super(id);
        init();
    }
    
    private void init() {
        addQuestProgressCondition(new ServerFlagCondition(false, SURVIVAL_ECONOMY_TAG), false);
        addQuestProgressCondition(new GameModeCondition(false, GameMode.SURVIVAL), false);
    }
    
}

package de.iani.cubequest.quests;

import de.iani.cubequest.Reward;
import de.iani.cubequest.conditions.ServerFlagCondition;


public abstract class EconomyInfluencingAmountQuest extends AmountQuest {
    
    public static final String SURVIVAL_ECONOMY_TAG = "survival_economy";
    
    public EconomyInfluencingAmountQuest(int id, String name, String displayMessage,
            String giveMessage, String successMessage, Reward successReward, int amount) {
        super(id, name, displayMessage, giveMessage, successMessage, successReward, amount);
        init();
    }
    
    public EconomyInfluencingAmountQuest(int id, String name, String displayMessage,
            String giveMessage, String successMessage, Reward successReward) {
        super(id, name, displayMessage, giveMessage, successMessage, successReward, 0);
        init();
    }
    
    public EconomyInfluencingAmountQuest(int id) {
        super(id);
        init();
    }
    
    private void init() {
        addQuestProgressCondition(new ServerFlagCondition(false, SURVIVAL_ECONOMY_TAG), false);
    }
    
}

Remove duplicate default progress condition.