Skip to content

Commit

Permalink
Allow searching mod names without spaces
Browse files Browse the repository at this point in the history
  • Loading branch information
mezz committed Oct 15, 2016
1 parent 667701f commit 986c6d6
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/main/java/mezz/jei/util/IngredientListElement.java
Expand Up @@ -57,7 +57,7 @@ protected IngredientListElement(V ingredient, IIngredientHelper<V> ingredientHel

String displayName = ingredientHelper.getDisplayName(ingredient).toLowerCase();

this.modNameString = modId + ' ' + modName;
this.modNameString = modId.replaceAll(" ", "") + ' ' + modName.replaceAll(" ", "");

this.tooltipString = getTooltipString(ingredient, ingredientRenderer, modId, modName, displayName);

Expand Down

0 comments on commit 986c6d6

Please sign in to comment.