After years of research and experimenting, we settled on an achievement icon
This commit is contained in:
parent
48ed5e2cba
commit
8439838328
@ -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());
|
||||
|
Loading…
Reference in New Issue
Block a user