Allow console to run /f list

This commit is contained in:
Trent Hensler 2018-03-11 17:59:11 -07:00
parent 4531da8190
commit b78ff51e10
1 changed files with 1 additions and 1 deletions

View File

@ -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<String> exemptFactions = P.p.getConfig().getStringList("show-exempt");
Iterator<Faction> factionIterator = factionList.iterator();
while (factionIterator.hasNext()) {