Add TM to remove bypass and add player name to the skull

This commit is contained in:
Spencer 2018-01-03 18:46:16 -05:00 committed by Alexander Meech
parent 3ca434fcf6
commit 6517fe382f
2 changed files with 2 additions and 1 deletions

View File

@ -99,6 +99,7 @@ public class Punish extends MiniPlugin
PermissionGroup.RC.setPermission(Perm.PUNISHMENT_REAPPLY, true, true); PermissionGroup.RC.setPermission(Perm.PUNISHMENT_REAPPLY, true, true);
PermissionGroup.ADMIN.setPermission(Perm.PUNISHMENT_REAPPLY, true, true); PermissionGroup.ADMIN.setPermission(Perm.PUNISHMENT_REAPPLY, true, true);
PermissionGroup.TM.setPermission(Perm.BYPASS_REMOVE_CONFIRMATION, true, true);
PermissionGroup.FN.setPermission(Perm.BYPASS_REMOVE_CONFIRMATION, true, true); PermissionGroup.FN.setPermission(Perm.BYPASS_REMOVE_CONFIRMATION, true, true);
PermissionGroup.ADMIN.setPermission(Perm.BYPASS_REMOVE_CONFIRMATION, true, true); PermissionGroup.ADMIN.setPermission(Perm.BYPASS_REMOVE_CONFIRMATION, true, true);

View File

@ -56,7 +56,7 @@ public class PunishStaffPage extends PunishPage
private ItemStack buildPlayerSkull() private ItemStack buildPlayerSkull()
{ {
return UtilSkull.getPlayerHead(_target, C.cGreenB, UtilText.splitLine(C.Reset + "Reason: " + C.mBody + _reason, LineFormat.LORE)); return UtilSkull.getPlayerHead(_target, C.cGreenB + _target, UtilText.splitLine(C.Reset + "Reason: " + C.mBody + _reason, LineFormat.LORE));
} }
private ShopItem buildDummyCategoryIcon(Category category) private ShopItem buildDummyCategoryIcon(Category category)