Gunpowder no longer unlocks clean dust achievement

This commit is contained in:
Blood-Asp 2016-03-20 16:51:01 +01:00
parent 009c032c13
commit 41af922dd2

View file

@ -446,7 +446,9 @@ public class GT_Achievements {
if (data.mMaterial.mMaterial == Materials.Lutetium) { if (data.mMaterial.mMaterial == Materials.Lutetium) {
issueAchievement(player, "newmetal"); issueAchievement(player, "newmetal");
} }
if(data.mMaterial.mMaterial != Materials.Gunpowder){
issueAchievement(player, "cleandust"); issueAchievement(player, "cleandust");
}
} else if (data.mPrefix == OrePrefixes.ore || data.mPrefix == OrePrefixes.oreBlackgranite || data.mPrefix == OrePrefixes.oreEndstone } else if (data.mPrefix == OrePrefixes.ore || data.mPrefix == OrePrefixes.oreBlackgranite || data.mPrefix == OrePrefixes.oreEndstone
|| data.mPrefix == OrePrefixes.oreNetherrack || data.mPrefix == OrePrefixes.oreRedgranite) { || data.mPrefix == OrePrefixes.oreNetherrack || data.mPrefix == OrePrefixes.oreRedgranite) {
for (int i = 0; i < data.getAllMaterialStacks().size(); i++) { for (int i = 0; i < data.getAllMaterialStacks().size(); i++) {