Skip to content

Commit

Permalink
improve clicks block event matcher
Browse files Browse the repository at this point in the history
  • Loading branch information
mcmonkey4eva committed Jul 6, 2018
1 parent b50040b commit 29dde5b
Showing 1 changed file with 6 additions and 0 deletions.
Expand Up @@ -67,6 +67,12 @@ private boolean couldMatchIn(String lower) {
if (dInventory.matches(in) || in.equalsIgnoreCase("inventory")) {
return false;
}
if (in.equalsIgnoreCase("notable")) {
String next = CoreUtilities.getXthArg(index + 2, lower);
if (!next.equalsIgnoreCase("cuboid") && !next.equalsIgnoreCase("ellipsoid")) {
return false;
}
}
return true;
}

Expand Down

0 comments on commit 29dde5b

Please sign in to comment.