From 5a52b80ee703d5933f13c5a33a6bdb3a6e532b08 Mon Sep 17 00:00:00 2001 From: Blood-Asp Date: Mon, 17 Oct 2016 00:03:05 +0200 Subject: [PATCH] Give ore Achievements from all ore stone types --- src/main/java/gregtech/loaders/misc/GT_Achievements.java | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/src/main/java/gregtech/loaders/misc/GT_Achievements.java b/src/main/java/gregtech/loaders/misc/GT_Achievements.java index 3e8c1507..56cb0736 100644 --- a/src/main/java/gregtech/loaders/misc/GT_Achievements.java +++ b/src/main/java/gregtech/loaders/misc/GT_Achievements.java @@ -496,8 +496,7 @@ public class GT_Achievements { if(data.mMaterial.mMaterial != Materials.Gunpowder){ issueAchievement(player, "cleandust"); } - } else if (data.mPrefix == OrePrefixes.ore || data.mPrefix == OrePrefixes.oreBlackgranite || data.mPrefix == OrePrefixes.oreEndstone - || data.mPrefix == OrePrefixes.oreNetherrack || data.mPrefix == OrePrefixes.oreRedgranite) { + } else if (data.mPrefix.name().startsWith("ore")) { int data_getAllMaterialStacks_sS=data.getAllMaterialStacks().size(); for (int i = 0; i < data_getAllMaterialStacks_sS; i++) { issueAchievement(player, data.getAllMaterialStacks().get(i).mMaterial.mName);