Change command syntax for radius claiming.
Syntax was confusing and people wanted change. Resolves #215.
This commit is contained in:
@@ -188,12 +188,8 @@ public abstract class FCommand extends MCommand<P> {
|
||||
Faction ret = def;
|
||||
|
||||
if (name != null) {
|
||||
Faction faction = null;
|
||||
|
||||
// First we try an exact match
|
||||
if (faction == null) {
|
||||
faction = Factions.getInstance().getByTag(name); // Checks for faction name match.
|
||||
}
|
||||
Faction faction = Factions.getInstance().getByTag(name); // Checks for faction name match.
|
||||
|
||||
// Next we match faction tags
|
||||
if (faction == null) {
|
||||
|
||||
Reference in New Issue
Block a user