From 8aec6864e1a6bcfb5bf0740c05b802600ee7fd7b Mon Sep 17 00:00:00 2001 From: doushio9967 Date: Fri, 11 Sep 2015 12:02:37 +0200 Subject: [PATCH] Let GT AdvCircuits trigger the stepforward achievement. --- main/java/gregtech/loaders/misc/GT_Achievements.java | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/main/java/gregtech/loaders/misc/GT_Achievements.java b/main/java/gregtech/loaders/misc/GT_Achievements.java index 4c3be9b1..35e090f9 100644 --- a/main/java/gregtech/loaders/misc/GT_Achievements.java +++ b/main/java/gregtech/loaders/misc/GT_Achievements.java @@ -451,6 +451,8 @@ public int adjY = 9; issueAchievement(player, "steel"); } } + }else if(data.mPrefix == OrePrefixes.circuit&&data.mMaterial.mMaterial == Materials.Advanced){ + issueAchievement(player, "stepforward"); } } if(stack.getUnlocalizedName().startsWith("gt.metaitem.")){ @@ -491,8 +493,6 @@ public int adjY = 9; }else if(stack.getUnlocalizedName().equals("gt.metaitem.01.32605")){ issueAchievement(player, "whatnow"); } - }else if(stack.getUnlocalizedName().equals("ic2.itemPartCircuitAdv")){ - issueAchievement(player, "stepforward"); } } }