Give ore Achievements from all ore stone types
This commit is contained in:
parent
14304fceb8
commit
e957422390
1 changed files with 1 additions and 2 deletions
|
@ -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());
|
||||
|
|
Loading…
Reference in a new issue