Give ore Achievements from all ore stone types
This commit is contained in:
parent
a50a5a1527
commit
5a52b80ee7
1 changed files with 1 additions and 2 deletions
|
@ -496,8 +496,7 @@ public class GT_Achievements {
|
||||||
if(data.mMaterial.mMaterial != Materials.Gunpowder){
|
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.name().startsWith("ore")) {
|
||||||
|| data.mPrefix == OrePrefixes.oreNetherrack || data.mPrefix == OrePrefixes.oreRedgranite) {
|
|
||||||
int data_getAllMaterialStacks_sS=data.getAllMaterialStacks().size();
|
int data_getAllMaterialStacks_sS=data.getAllMaterialStacks().size();
|
||||||
for (int i = 0; i < data_getAllMaterialStacks_sS; i++) {
|
for (int i = 0; i < data_getAllMaterialStacks_sS; i++) {
|
||||||
issueAchievement(player, data.getAllMaterialStacks().get(i).mMaterial.mName);
|
issueAchievement(player, data.getAllMaterialStacks().get(i).mMaterial.mName);
|
||||||
|
|
Loading…
Reference in a new issue