package com.mcbans.firestar.mcbans;

import com.mcbans.firestar.mcbans.permission.Perms;

public enum BanType {
    GLOBAL  ("globalBan", Perms.BAN_GLOBAL),
    LOCAL   ("localBan", Perms.BAN_GLOBAL),
    TEMP    ("tempBan", Perms.BAN_TEMP),

    UNBAN   ("unBan", Perms.UNBAN),
    ;

    final private String actionName;
    final private Perms permission;

    private BanType(final String actionName, final Perms permission){
        this.actionName = actionName;
        this.permission = permission;
    }

    public String getActionName(){
        return this.actionName;
    }

    public Perms getPermission(){
        return this.permission;
    }
}

@@ -183,36 +183,35 @@
 Ban%22, Perms.BAN_
-G
 LO
-B
+C
 AL),%0D%0A    TEMP  

Fix local ban permission node