Allow console to run /f list
This commit is contained in:
parent
4531da8190
commit
b78ff51e10
@ -50,7 +50,7 @@ public class CmdList extends FCommand {
|
|||||||
factionList.remove(Factions.getInstance().getWarZone());
|
factionList.remove(Factions.getInstance().getWarZone());
|
||||||
|
|
||||||
// remove exempt factions
|
// 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");
|
List<String> exemptFactions = P.p.getConfig().getStringList("show-exempt");
|
||||||
Iterator<Faction> factionIterator = factionList.iterator();
|
Iterator<Faction> factionIterator = factionList.iterator();
|
||||||
while (factionIterator.hasNext()) {
|
while (factionIterator.hasNext()) {
|
||||||
|
Loading…
Reference in New Issue
Block a user