mirror of
https://github.com/FalsePattern/FalsePatternLib.git
synced 2026-11-11 07:57:45 +00:00
Makes targeted mod substrings lower case
This commit is contained in:
1 file changed
+2
-2
@@ -25,11 +25,11 @@ public interface ITargetedMod {
|
||||
|
||||
final class PredicateHelpers {
|
||||
public static Predicate<String> startsWith(String subString) {
|
||||
return (name) -> name.startsWith(subString);
|
||||
return (name) -> name.startsWith(subString.toLowerCase());
|
||||
}
|
||||
|
||||
public static Predicate<String> contains(String subString) {
|
||||
return (name) -> name.contains(subString);
|
||||
return (name) -> name.contains(subString.toLowerCase());
|
||||
}
|
||||
|
||||
public static Predicate<String> matches(String regex) {
|
||||
|
||||
Reference in new issue
Block a user