Skip to content

Commit

Permalink
Fix "on entity targets"
Browse files Browse the repository at this point in the history
  • Loading branch information
mcmonkey4eva committed Feb 25, 2016
1 parent 986cb21 commit b510f2c
Showing 1 changed file with 1 addition and 1 deletion.
Expand Up @@ -69,7 +69,7 @@ public boolean matches(ScriptContainer scriptContainer, String s) {
}

String victim = CoreUtilities.getXthArg(2, lower);
if (!victim.equals("in") && !victim.equals("because") && !tryEntity(target, victim)) {
if (!victim.equals("in") && !victim.equals("because") && !victim.equals("") && !tryEntity(target, victim)) {
return false;
}

Expand Down

0 comments on commit b510f2c

Please sign in to comment.