After years of research and experimenting, we settled on an achievement icon

This commit is contained in:
Shaun Bennett 2014-08-26 19:01:59 -05:00
parent 48ed5e2cba
commit 8439838328

View File

@ -70,7 +70,7 @@ public class AchievementPage extends ShopPageBase<AchievementManager, Achievemen
}
{
Material material = hasUnlocked ? Material.EMERALD : Material.INK_SACK;
Material material = hasUnlocked ? Material.EXP_BOTTLE : Material.GLASS_BOTTLE;
String itemName = (hasUnlocked ? C.cGreen : C.cRed) + achievement.getName();
if (!singleLevel)
@ -103,7 +103,7 @@ public class AchievementPage extends ShopPageBase<AchievementManager, Achievemen
}
AddItem(currentIndex, new ShopItem(material, (byte) (hasUnlocked ? 0 : 1), itemName, lore.toArray(new String[0]), 1, false, false));
AddItem(currentIndex, new ShopItem(material, (byte) (hasUnlocked ? 0 : 0), itemName, lore.toArray(new String[0]), 1, false, false));
}
masterAchievementLore.add((hasUnlocked ? C.cGreen : C.cRed) + achievement.getName());