Skip to content

Commit

Permalink
fix material check
Browse files Browse the repository at this point in the history
  • Loading branch information
mcmonkey4eva committed Sep 15, 2017
1 parent 4c9f49b commit a840533
Showing 1 changed file with 3 additions and 0 deletions.
Expand Up @@ -137,6 +137,9 @@ public boolean tryMaterial(dMaterial mat, String comparedto) {
if (comparedto.equals("block") || comparedto.equals("material")) {
return true;
}
else if (CoreUtilities.toLowerCase(mat.realName()).equals(comparedto)) {
return true;
}
else if (CoreUtilities.toLowerCase(mat.identifyNoIdentifier()).equals(comparedto)) {
return true;
}
Expand Down

0 comments on commit a840533

Please sign in to comment.