mirror of
https://github.com/KAMKEEL/CustomNPC-Plus.git
synced 2026-11-25 21:34:29 +00:00
Merge remote-tracking branch 'origin/patch' into patch
This commit is contained in:
commit
f5bae9099d
10 files changed
+49
-34
No files matched your search
@@ -72,7 +72,15 @@ public class GuiRecipes extends GuiNPCInterface
|
||||
}
|
||||
List<IRecipe> list = new ArrayList<IRecipe>();
|
||||
for(IRecipe recipe : RecipeController.instance.anvilRecipes.values()){
|
||||
// System.out.println(recipe.getRecipeOutput().getDisplayName());
|
||||
if(recipe.getRecipeOutput() == null)
|
||||
continue;
|
||||
|
||||
if(recipe.getRecipeOutput().getDisplayName() == null)
|
||||
continue;
|
||||
|
||||
if(recipe.getRecipeOutput().getDisplayName().trim().equals(""))
|
||||
continue;
|
||||
|
||||
if(recipe.getRecipeOutput().getDisplayName().toLowerCase().contains(search.toLowerCase()))
|
||||
list.add(recipe);
|
||||
}
|
||||
|
||||
Reference in new issue
Block a user