Merge pull request #176 from doushio9967/advcircuit-achievement-fix2

Let GT AdvCircuits trigger the stepforward achievement.
This commit is contained in:
Blood-Asp 2015-10-01 00:24:54 +02:00
commit 4b000b64ab

View file

@ -451,6 +451,8 @@ public int adjY = 9;
issueAchievement(player, "steel"); issueAchievement(player, "steel");
} }
} }
}else if(data.mPrefix == OrePrefixes.circuit&&data.mMaterial.mMaterial == Materials.Advanced){
issueAchievement(player, "stepforward");
} }
} }
if(stack.getUnlocalizedName().startsWith("gt.metaitem.")){ if(stack.getUnlocalizedName().startsWith("gt.metaitem.")){
@ -491,8 +493,6 @@ public int adjY = 9;
}else if(stack.getUnlocalizedName().equals("gt.metaitem.01.32605")){ }else if(stack.getUnlocalizedName().equals("gt.metaitem.01.32605")){
issueAchievement(player, "whatnow"); issueAchievement(player, "whatnow");
} }
}else if(stack.getUnlocalizedName().equals("ic2.itemPartCircuitAdv")){
issueAchievement(player, "stepforward");
} }
} }
} }