Skip to content

Commit

Permalink
Fix if when dealing with instant (^) commands.
Browse files Browse the repository at this point in the history
  • Loading branch information
aufdemrand committed Apr 8, 2013
1 parent caeba63 commit ec1bb0d
Showing 1 changed file with 1 addition and 1 deletion.
Expand Up @@ -94,7 +94,7 @@ else if (aH.matchesArg("EQUALS", arg) || aH.matchesArg("MATCHES", arg) || aH.mat
|| aH.matchesArg("ORLESS", arg) || aH.matchesArg("CONTAINS", arg))
comparables.get(index).operator = Operator.valueOf(arg.toUpperCase());
// Set outcomeCommand
else if (denizen.getCommandRegistry().get(arg) != null)
else if (denizen.getCommandRegistry().get(arg.replace("^", "")) != null)
outcomeCommand = arg;
// Set comparable
else if (comparables.get(index).comparable == null) {
Expand Down

0 comments on commit ec1bb0d

Please sign in to comment.