From 753de8ba940ec217dd2e70d27da848aa722bf1b1 Mon Sep 17 00:00:00 2001 From: doushio9967 Date: Tue, 24 Nov 2015 07:42:21 +0100 Subject: [PATCH] Remove duplicate repair achievements, fix HV Pump achievement. Previously any tier pump would trigger the slurp achievement. No idea why repair was listed thrice. --- src/main/java/gregtech/loaders/misc/GT_Achievements.java | 6 +----- 1 file changed, 1 insertion(+), 5 deletions(-) diff --git a/src/main/java/gregtech/loaders/misc/GT_Achievements.java b/src/main/java/gregtech/loaders/misc/GT_Achievements.java index 65a78165..79c602a3 100644 --- a/src/main/java/gregtech/loaders/misc/GT_Achievements.java +++ b/src/main/java/gregtech/loaders/misc/GT_Achievements.java @@ -337,14 +337,10 @@ public class GT_Achievements { issueAchievement(player, "alloysmelter"); } else if (stack.getUnlocalizedName().equals("gt.blockmachines.bronzemachine.extractor")) { issueAchievement(player, "extract"); - } else if (stack.getUnlocalizedName().startsWith("gt.blockmachines.basicmachine.disassembler.tier.")) { - issueAchievement(player, "repair"); } else if (stack.getUnlocalizedName().startsWith("gt.blockmachines.automation.superbuffer.tier.")) { issueAchievement(player, "superbuffer"); } else if (stack.getUnlocalizedName().startsWith("gt.blockmachines.quantum.tank.tier.")) { issueAchievement(player, "whereistheocean"); - } else if (stack.getUnlocalizedName().startsWith("gt.blockmachines.basicmachine.disassembler.tier.")) { - issueAchievement(player, "repair"); } else if (stack.getUnlocalizedName().startsWith("gt.blockmachines.quantum.chest.tier.")) { issueAchievement(player, "newstorage"); } else if (stack.getUnlocalizedName().startsWith("gt.blockmachines.basicmachine.hammer.tier.")) { @@ -353,7 +349,7 @@ public class GT_Achievements { issueAchievement(player, "buffer"); } else if (stack.getUnlocalizedName().startsWith("gt.blockmachines.basicgenerator.steamturbine.tier.")) { issueAchievement(player, "steampower"); - } else if (stack.getUnlocalizedName().startsWith("gt.blockmachines.basicmachine.pump.tier.")) { + } else if (stack.getUnlocalizedName().equals("gt.blockmachines.basicmachine.pump.tier.03")) { issueAchievement(player, "slurp"); } else if (stack.getUnlocalizedName().startsWith("gt.blockmachines.basicmachine.assembler.tier.")) { issueAchievement(player, "avengers");