Skip to content

Commit

Permalink
Stupid bug...
Browse files Browse the repository at this point in the history
  • Loading branch information
Talamar1 committed Sep 15, 2015
1 parent 8596be4 commit d61c566
Showing 1 changed file with 2 additions and 6 deletions.
Expand Up @@ -59,15 +59,11 @@ public boolean matches(ScriptContainer scriptContainer, String s) {
}

String mat = CoreUtilities.getXthArg(3, lower);
if (tryMaterial(material, mat)) {
if (!tryMaterial(material, mat)) {
return false;
}

if (!runInCheck(scriptContainer, s, lower, location)) {
return false;
}

return true;
return runInCheck(scriptContainer, s, lower, location);
}

@Override
Expand Down

0 comments on commit d61c566

Please sign in to comment.