fix: check if filter string is empty

This commit is contained in:
oSumAtrIX 2022-11-19 23:22:34 +01:00
parent ee60892f7c
commit dccf2a3e6e

View File

@ -16,7 +16,7 @@ public class ReVancedUtils {
public static boolean containsAny(final String value, final String... targets) {
for (String string : targets)
if (value.contains(string)) return true;
if (!string.isEmpty() && value.contains(string)) return true;
return false;
}