mirror of
https://github.com/Ellpeck/ActuallyAdditions.git
synced 2024-11-26 16:58:34 +01:00
parent
7274eb5599
commit
1627dace83
1 changed files with 1 additions and 1 deletions
|
@ -233,7 +233,7 @@ public final class BookletUtils{
|
||||||
ItemStack[] pageStacks = page.getItemStacksForPage();
|
ItemStack[] pageStacks = page.getItemStacksForPage();
|
||||||
if(pageStacks != null){
|
if(pageStacks != null){
|
||||||
for(ItemStack stack : pageStacks){
|
for(ItemStack stack : pageStacks){
|
||||||
if(stack.getDisplayName().toLowerCase(Locale.ROOT).contains(text)){
|
if(stack != null && stack.getDisplayName().toLowerCase(Locale.ROOT).contains(text)){
|
||||||
return true;
|
return true;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in a new issue