Helpers can use WARNINGS

This commit is contained in:
Chiss 2013-11-07 17:03:34 +11:00
parent 8e7b5ac6fe
commit 8fa7b9f283
1 changed files with 10 additions and 10 deletions

View File

@ -241,8 +241,6 @@ public class PunishPage extends CraftInventoryCustom implements Listener
} }
//Other //Other
if (_plugin.GetClients().Get(_player).GetRank().Has(Rank.MODERATOR))
{
AddButton(25, new ShopItem(Material.PAPER, (byte)0, "Warning", new String[] { AddButton(25, new ShopItem(Material.PAPER, (byte)0, "Warning", new String[] {
" ", " ",
examplePrefix + "Example Warning Input;", examplePrefix + "Example Warning Input;",
@ -253,6 +251,8 @@ public class PunishPage extends CraftInventoryCustom implements Listener
}, 1, false, true), new PunishButton(this, Category.Warning, 1, false, 0)); }, 1, false, true), new PunishButton(this, Category.Warning, 1, false, 0));
if (_plugin.GetClients().Get(_player).GetRank().Has(Rank.MODERATOR))
{
AddButton(34, new ShopItem(Material.REDSTONE_BLOCK, (byte)0, "Permanent Ban", new String[] { AddButton(34, new ShopItem(Material.REDSTONE_BLOCK, (byte)0, "Permanent Ban", new String[] {
ChatColor.RESET + "Ban Duration: " + ChatColor.YELLOW + "Permanent", ChatColor.RESET + "Ban Duration: " + ChatColor.YELLOW + "Permanent",
" ", " ",