Skip to content

Commit dd6059e

Browse files
authored
New ignorecase option for "STRING_CONTAINS"
Added new requirement types allowing users to use "ignorecase" with "STRING_CONTAINS" and "STRING_DOES_NOT_CONTAIN"
1 parent cb7bf3a commit dd6059e

1 file changed

Lines changed: 2 additions & 0 deletions

File tree

src/main/java/com/extendedclip/deluxemenus/config/DeluxeMenusConfig.java

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1029,6 +1029,8 @@ private RequirementList getRequirements(FileConfiguration c, String path) {
10291029
case STRING_DOES_NOT_CONTAIN:
10301030
case STRING_DOES_NOT_EQUAL:
10311031
case STRING_DOES_NOT_EQUAL_IGNORECASE:
1032+
case STRING_CONTAINS_IGNORECASE:
1033+
case STRING_DOES_NOT_CONTAIN_IGNORECASE:
10321034
if (c.contains(rPath + ".input") && c.contains(rPath + ".output")) {
10331035
req = new InputResultRequirement(type, c.getString(rPath + ".input"), c.getString(rPath + ".output"));
10341036
} else {

0 commit comments

Comments
 (0)