changed locked ability icon to diamond
This commit is contained in:
parent
0e4b21e6b1
commit
50b2870705
@ -48,7 +48,7 @@ public class ClassShopManager extends MiniPlugin
|
||||
|
||||
public boolean hasAchievements(Player player)
|
||||
{
|
||||
if (_clientManager.Get(player).GetRank().Has(Rank.HELPER))
|
||||
if (_clientManager.Get(player).GetRank().Has(Rank.MODERATOR))
|
||||
return true;
|
||||
|
||||
return _achievementManager.hasCategory(player, new Achievement[]
|
||||
|
@ -274,7 +274,7 @@ public class SkillPage extends ShopPageBase<ClassShopManager, ClassCombatShop>
|
||||
skillLore.add(C.cGray + " ");
|
||||
skillLore.add(C.cPurple + "To use this skill, you must have all");
|
||||
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
|
||||
skillItem = new ShopItem(material, name, skillLore.toArray(new String[skillLore.size()]), level, locked, true);
|
||||
|
Loading…
Reference in New Issue
Block a user