From b78ff51e10aa684cfaa32537234aea7e8c629cdf Mon Sep 17 00:00:00 2001 From: Trent Hensler Date: Sun, 11 Mar 2018 17:59:11 -0700 Subject: [PATCH] Allow console to run /f list --- src/main/java/com/massivecraft/factions/cmd/CmdList.java | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/main/java/com/massivecraft/factions/cmd/CmdList.java b/src/main/java/com/massivecraft/factions/cmd/CmdList.java index f9604512..ba1437af 100644 --- a/src/main/java/com/massivecraft/factions/cmd/CmdList.java +++ b/src/main/java/com/massivecraft/factions/cmd/CmdList.java @@ -50,7 +50,7 @@ public class CmdList extends FCommand { factionList.remove(Factions.getInstance().getWarZone()); // remove exempt factions - if (!fme.getPlayer().hasPermission("factions.show.bypassexempt")) { + if (!sender.hasPermission("factions.show.bypassexempt")) { List exemptFactions = P.p.getConfig().getStringList("show-exempt"); Iterator factionIterator = factionList.iterator(); while (factionIterator.hasNext()) {