BugFix
This commit is contained in:
parent
22cb629107
commit
ab9ea25bfd
@ -1,6 +1,7 @@
|
|||||||
package com.massivecraft.factions.cmd;
|
package com.massivecraft.factions.cmd;
|
||||||
|
|
||||||
import java.util.ArrayList;
|
import java.util.ArrayList;
|
||||||
|
import java.util.Collection;
|
||||||
import java.util.List;
|
import java.util.List;
|
||||||
|
|
||||||
import com.massivecraft.factions.Perm;
|
import com.massivecraft.factions.Perm;
|
||||||
@ -42,7 +43,7 @@ public class CmdFactionsPermShow extends FactionsCommand
|
|||||||
{
|
{
|
||||||
// Arg: Faction
|
// Arg: Faction
|
||||||
Faction faction = this.readArg(msenderFaction);
|
Faction faction = this.readArg(msenderFaction);
|
||||||
List<MPerm> mperms = this.readArg(MPerm.getAll());
|
Collection<MPerm> mperms = this.readArg(MPerm.getAll());
|
||||||
|
|
||||||
// Create messages
|
// Create messages
|
||||||
List<String> messages = new ArrayList<String>();
|
List<String> messages = new ArrayList<String>();
|
||||||
|
@ -56,7 +56,6 @@ public class CmdFactionsSetAll extends CmdFactionsSetXAll
|
|||||||
|
|
||||||
// Args
|
// Args
|
||||||
Faction oldFaction = this.getOldFaction();
|
Faction oldFaction = this.getOldFaction();
|
||||||
if (oldFaction == null) return null;
|
|
||||||
|
|
||||||
if (LIST_ALL.contains(this.argAt(0).toLowerCase()))
|
if (LIST_ALL.contains(this.argAt(0).toLowerCase()))
|
||||||
{
|
{
|
||||||
|
Loading…
Reference in New Issue
Block a user