Skip to content

Commit

Permalink
Fixed couldMatch logic.
Browse files Browse the repository at this point in the history
  • Loading branch information
Talamar1 committed Jul 7, 2015
1 parent 47f5fa6 commit c369f35
Showing 1 changed file with 1 addition and 2 deletions.
Expand Up @@ -43,8 +43,7 @@ public ProjectileLaunchedScriptEvent() {
public boolean couldMatch(ScriptContainer scriptContainer, String s) {
String lower = CoreUtilities.toLowerCase(s);
String cmd = CoreUtilities.getXthArg(1, lower);
String entTest = CoreUtilities.getXthArg(0, lower);
return cmd.equals("launched") && (entTest.equals("projectile"));
return cmd.equals("launched");
}

@Override
Expand Down

0 comments on commit c369f35

Please sign in to comment.