mirror of
https://github.com/Ellpeck/ActuallyAdditions.git
synced 2024-06-02 14:03:37 +02:00
parent
7274eb5599
commit
1627dace83
|
@ -233,7 +233,7 @@ public final class BookletUtils{
|
|||
ItemStack[] pageStacks = page.getItemStacksForPage();
|
||||
if(pageStacks != null){
|
||||
for(ItemStack stack : pageStacks){
|
||||
if(stack.getDisplayName().toLowerCase(Locale.ROOT).contains(text)){
|
||||
if(stack != null && stack.getDisplayName().toLowerCase(Locale.ROOT).contains(text)){
|
||||
return true;
|
||||
}
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue