From 50b287070564b83b1f936987d095882839c4e354 Mon Sep 17 00:00:00 2001 From: Chiss Date: Sun, 23 Nov 2014 14:13:00 +1100 Subject: [PATCH] changed locked ability icon to diamond --- .../minecraft/game/classcombat/shop/ClassShopManager.java | 2 +- .../minecraft/game/classcombat/shop/page/SkillPage.java | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/Plugins/Mineplex.Minecraft.Game.ClassCombat/src/mineplex/minecraft/game/classcombat/shop/ClassShopManager.java b/Plugins/Mineplex.Minecraft.Game.ClassCombat/src/mineplex/minecraft/game/classcombat/shop/ClassShopManager.java index 5a333c782..e359386c5 100644 --- a/Plugins/Mineplex.Minecraft.Game.ClassCombat/src/mineplex/minecraft/game/classcombat/shop/ClassShopManager.java +++ b/Plugins/Mineplex.Minecraft.Game.ClassCombat/src/mineplex/minecraft/game/classcombat/shop/ClassShopManager.java @@ -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[] diff --git a/Plugins/Mineplex.Minecraft.Game.ClassCombat/src/mineplex/minecraft/game/classcombat/shop/page/SkillPage.java b/Plugins/Mineplex.Minecraft.Game.ClassCombat/src/mineplex/minecraft/game/classcombat/shop/page/SkillPage.java index 71d9c90e2..38a184ef9 100644 --- a/Plugins/Mineplex.Minecraft.Game.ClassCombat/src/mineplex/minecraft/game/classcombat/shop/page/SkillPage.java +++ b/Plugins/Mineplex.Minecraft.Game.ClassCombat/src/mineplex/minecraft/game/classcombat/shop/page/SkillPage.java @@ -274,7 +274,7 @@ public class SkillPage extends ShopPageBase 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);