Add Permissable interface for f perm compatibility.
Allows Roles and Relations to be permissable, so we can set f perms for both of those in the same map.
This commit is contained in:
@@ -38,7 +38,7 @@ public class FPromoteCommand extends FCommand {
|
||||
return;
|
||||
}
|
||||
|
||||
Access access = myFaction.getAccess(fme, Action.PROMOTE);
|
||||
Access access = myFaction.getAccess(fme.getRole(), Action.PROMOTE);
|
||||
|
||||
// Well this is messy.
|
||||
if (access == null || access == Access.UNDEFINED) {
|
||||
|
||||
Reference in New Issue
Block a user