Updated JEI plugin to newer API methods.

This commit is contained in:
Gunther De Wachter
2017-08-16 17:51:43 +02:00
parent 7cb641cdc8
commit 8a7450168b
16 changed files with 68 additions and 155 deletions
@@ -45,12 +45,12 @@ class JeiRuntimeAdapter implements IJEI
@Override
public String getSearchText()
{
return Strings.nullToEmpty( this.runtime.getItemListOverlay().getFilterText() );
return Strings.nullToEmpty( this.runtime.getIngredientFilter().getFilterText() );
}
@Override
public void setSearchText( String searchText )
{
this.runtime.getItemListOverlay().setFilterText( Strings.nullToEmpty( searchText ) );
this.runtime.getIngredientFilter().setFilterText( Strings.nullToEmpty( searchText ) );
}
}