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