From 879e8b417067de1d296940820d073ef979d3ac0a Mon Sep 17 00:00:00 2001 From: Olof Larsson Date: Wed, 10 Apr 2013 10:00:40 +0200 Subject: [PATCH] Taking a look in FCommand. --- src/com/massivecraft/factions/cmd/FCommand.java | 9 ++++++++- 1 file changed, 8 insertions(+), 1 deletion(-) diff --git a/src/com/massivecraft/factions/cmd/FCommand.java b/src/com/massivecraft/factions/cmd/FCommand.java index 7aea1009..b4f4fbbb 100644 --- a/src/com/massivecraft/factions/cmd/FCommand.java +++ b/src/com/massivecraft/factions/cmd/FCommand.java @@ -24,6 +24,8 @@ public abstract class FCommand extends MCommand public FPlayer fme; public Faction myFaction; + + // TODO: All these are "command reqs" public boolean senderMustBeMember; public boolean senderMustBeOfficer; public boolean senderMustBeLeader; @@ -122,6 +124,9 @@ public abstract class FCommand extends MCommand // Assertions // -------------------------------------------- // + // These are not used. Remove in the future if no need for them arises. + + /* public boolean assertHasFaction() { if (me == null) return true; @@ -144,12 +149,14 @@ public abstract class FCommand extends MCommand return false; } return true; - } + }*/ // -------------------------------------------- // // Argument Readers // -------------------------------------------- // + // TODO: Convert these arg-readers to MCore ArgReaders. + // FPLAYER ====================== public FPlayer strAsFPlayer(String name, FPlayer def, boolean msg) {