From e9574223901984584a4fce8b5dcb449a42dcb283 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 981048cd..c59ce843 100644 --- a/src/main/java/gregtech/loaders/misc/GT_Achievements.java +++ b/src/main/java/gregtech/loaders/misc/GT_Achievements.java @@ -494,8 +494,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.name());