changed locked ability icon to diamond

This commit is contained in:
Chiss 2014-11-23 14:13:00 +11:00
parent 0e4b21e6b1
commit 50b2870705
2 changed files with 2 additions and 2 deletions

View File

@ -48,7 +48,7 @@ public class ClassShopManager extends MiniPlugin
public boolean hasAchievements(Player player) public boolean hasAchievements(Player player)
{ {
if (_clientManager.Get(player).GetRank().Has(Rank.HELPER)) if (_clientManager.Get(player).GetRank().Has(Rank.MODERATOR))
return true; return true;
return _achievementManager.hasCategory(player, new Achievement[] return _achievementManager.hasCategory(player, new Achievement[]

View File

@ -274,7 +274,7 @@ public class SkillPage extends ShopPageBase<ClassShopManager, ClassCombatShop>
skillLore.add(C.cGray + " "); skillLore.add(C.cGray + " ");
skillLore.add(C.cPurple + "To use this skill, you must have all"); skillLore.add(C.cPurple + "To use this skill, you must have all");
skillLore.add(C.cPurple + "Champions Achievements unlocked!"); skillLore.add(C.cPurple + "Champions Achievements unlocked!");
skillItem = new ShopItem(Material.INK_SACK, (byte)13, name, skillLore.toArray(new String[skillLore.size()]), level, achievementLocked, true); skillItem = new ShopItem(Material.DIAMOND, (byte)0, name, skillLore.toArray(new String[skillLore.size()]), level, achievementLocked, true);
} }
else else
skillItem = new ShopItem(material, name, skillLore.toArray(new String[skillLore.size()]), level, locked, true); skillItem = new ShopItem(material, name, skillLore.toArray(new String[skillLore.size()]), level, locked, true);