Some additional fixes from other branch.

This commit is contained in:
Sebastian Hartte
2020-05-30 22:18:26 +02:00
parent 16d6d55d7f
commit ec3b464655
139 changed files with 1489 additions and 1485 deletions
+4 -3
View File
@@ -45,6 +45,7 @@ import appeng.items.storage.ItemViewCell;
import appeng.util.ItemSorters;
import appeng.util.Platform;
import appeng.util.prioritylist.IPartitionList;
import net.minecraft.util.text.ITextComponent;
public class ItemRepo
@@ -180,11 +181,11 @@ public class ItemRepo
if( terminalSearchToolTips && notDone && !searchMod )
{
final List<String> tooltip = Platform.getTooltip( is );
final List<ITextComponent> tooltip = Platform.getTooltip( is );
for( final String line : tooltip )
for( final ITextComponent line : tooltip )
{
if( m.matcher( line ).find() )
if( m.matcher( line.getString() ).find() )
{
foundMatchingItemStack = true;
notDone = false;