fix fluid search by name
This commit is contained in:
+1
-3
@@ -390,9 +390,7 @@ public class GuiFluidInterfaceConfigurationTerminal extends AEBaseGui implements
|
|||||||
|
|
||||||
boolean foundMatchingItemStack = false;
|
boolean foundMatchingItemStack = false;
|
||||||
|
|
||||||
final String displayName = Platform
|
final String displayName = Platform.getFluidDisplayName(iaeFluidStack).toLowerCase();
|
||||||
.getItemDisplayName(AEApi.instance().storage().getStorageChannel(IItemStorageChannel.class).createStack(iaeFluidStack))
|
|
||||||
.toLowerCase();
|
|
||||||
|
|
||||||
for (String term : searchTerm.split(" ")) {
|
for (String term : searchTerm.split(" ")) {
|
||||||
if (term.length() > 1 && (term.startsWith("-") || term.startsWith("!"))) {
|
if (term.length() > 1 && (term.startsWith("-") || term.startsWith("!"))) {
|
||||||
|
|||||||
Reference in New Issue
Block a user