From 1b69f04279335809312957e59b338afc9cca164f Mon Sep 17 00:00:00 2001 From: ulumulu1510 Date: Fri, 26 Feb 2016 15:37:41 +0100 Subject: [PATCH] 0.1h - Remove must have Faction requirement. --- src/com/massivecraft/factions/cmd/CmdFactionsRelation.java | 2 -- .../massivecraft/factions/cmd/CmdFactionsRelationSet.java | 5 +---- .../massivecraft/factions/cmd/CmdFactionsRelationWishes.java | 2 -- 3 files changed, 1 insertion(+), 8 deletions(-) diff --git a/src/com/massivecraft/factions/cmd/CmdFactionsRelation.java b/src/com/massivecraft/factions/cmd/CmdFactionsRelation.java index c6053d9d..fb0e66e1 100644 --- a/src/com/massivecraft/factions/cmd/CmdFactionsRelation.java +++ b/src/com/massivecraft/factions/cmd/CmdFactionsRelation.java @@ -1,7 +1,6 @@ package com.massivecraft.factions.cmd; import com.massivecraft.factions.Perm; -import com.massivecraft.factions.cmd.req.ReqHasFaction; import com.massivecraft.massivecore.command.requirement.RequirementHasPerm; @@ -31,7 +30,6 @@ public class CmdFactionsRelation extends FactionsCommand // Requirements this.addRequirements(RequirementHasPerm.get(Perm.RELATION.node)); - this.addRequirements(ReqHasFaction.get()); } } diff --git a/src/com/massivecraft/factions/cmd/CmdFactionsRelationSet.java b/src/com/massivecraft/factions/cmd/CmdFactionsRelationSet.java index f17a044a..3f66d4e2 100644 --- a/src/com/massivecraft/factions/cmd/CmdFactionsRelationSet.java +++ b/src/com/massivecraft/factions/cmd/CmdFactionsRelationSet.java @@ -1,12 +1,9 @@ package com.massivecraft.factions.cmd; -import com.massivecraft.massivecore.command.MassiveCommand; - import org.bukkit.ChatColor; import com.massivecraft.factions.Perm; import com.massivecraft.factions.Rel; -import com.massivecraft.factions.cmd.req.ReqHasFaction; import com.massivecraft.factions.cmd.type.TypeFaction; import com.massivecraft.factions.cmd.type.TypeRelation; import com.massivecraft.factions.entity.Faction; @@ -15,6 +12,7 @@ import com.massivecraft.factions.entity.MPerm; import com.massivecraft.factions.event.EventFactionsRelationChange; import com.massivecraft.massivecore.MassiveException; +import com.massivecraft.massivecore.command.MassiveCommand; import com.massivecraft.massivecore.command.requirement.RequirementHasPerm; import com.massivecraft.massivecore.mson.Mson; @@ -35,7 +33,6 @@ public class CmdFactionsRelationSet extends FactionsCommand // Requirements this.addRequirements(RequirementHasPerm.get(Perm.RELATION_SET.node)); - this.addRequirements(ReqHasFaction.get()); } // -------------------------------------------- // diff --git a/src/com/massivecraft/factions/cmd/CmdFactionsRelationWishes.java b/src/com/massivecraft/factions/cmd/CmdFactionsRelationWishes.java index a9570827..b22c6665 100644 --- a/src/com/massivecraft/factions/cmd/CmdFactionsRelationWishes.java +++ b/src/com/massivecraft/factions/cmd/CmdFactionsRelationWishes.java @@ -8,7 +8,6 @@ import org.bukkit.Bukkit; import com.massivecraft.factions.Factions; import com.massivecraft.factions.Perm; import com.massivecraft.factions.Rel; -import com.massivecraft.factions.cmd.req.ReqHasFaction; import com.massivecraft.factions.cmd.type.TypeFaction; import com.massivecraft.factions.entity.Faction; import com.massivecraft.factions.entity.FactionColl; @@ -39,7 +38,6 @@ public class CmdFactionsRelationWishes extends FactionsCommand // Requirements this.addRequirements(RequirementHasPerm.get(Perm.RELATION_WISHES.node)); - this.addRequirements(ReqHasFaction.get()); } // -------------------------------------------- //