diff --git a/classes/artifacts/Factions_jar/Factions.jar b/classes/artifacts/Factions_jar/Factions.jar index eb501b7c..1487877f 100644 Binary files a/classes/artifacts/Factions_jar/Factions.jar and b/classes/artifacts/Factions_jar/Factions.jar differ diff --git a/src/main/java/com/massivecraft/factions/cmd/FCommand.java b/src/main/java/com/massivecraft/factions/cmd/FCommand.java index d44cd5c5..24942e38 100644 --- a/src/main/java/com/massivecraft/factions/cmd/FCommand.java +++ b/src/main/java/com/massivecraft/factions/cmd/FCommand.java @@ -47,9 +47,9 @@ public abstract class FCommand extends MCommand
{ } public boolean hasAccess() { - if (this.actionPermission == null || this.fme == null) return false; + if (this.permission == null || this.fme == null) return false; if (!this.fme.isAdminBypassing()) { - Access access = myFaction.getAccess(this.fme, this.actionPermission); + Access access = myFaction.getAccess(this.fme, permission); if (access != Access.ALLOW && this.fme.getRole() != Role.ADMIN) { return false; }