Skip to content

Commit ba83cca

Browse files
committed
Use (Operation)original.call() and bump version
1 parent ddebc71 commit ba83cca

3 files changed

Lines changed: 3 additions & 3 deletions

File tree

gradle.properties

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,7 @@ minecraft_version=25w32a
66
yarn_mappings=25w32a+build.1
77
loader_version=0.17.1
88
# Mod Properties
9-
mod_version=1.3.2
9+
mod_version=1.4.2
1010
maven_group=com.fireboy637
1111
archives_base_name=translatabledebugoptions
1212
# Dependencies

src/main/java/com/fireboy637/translatabledebugoptions/client/mixin/DebugOptionScreenMixin.java

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -29,7 +29,7 @@ private boolean searchHandler(String string, CharSequence searchCharSequence, Op
2929
Identifier identifier = entry.getKey();
3030
String searchStringLower = searchCharSequence.toString().toLowerCase();
3131
return original.call(string.toLowerCase(), searchStringLower) ||
32-
Text.translatable("debug." + identifier.getNamespace() + "." + identifier.getPath()).getString().toLowerCase().contains(searchStringLower);
32+
original.call(Text.translatable("debug." + identifier.getNamespace() + "." + identifier.getPath()).getString().toLowerCase(), searchStringLower);
3333
}
3434
}
3535
}

src/main/resources/fabric.mod.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
{
22
"schemaVersion": 1,
33
"id": "translatabledebugoptions",
4-
"version": "1.3.2",
4+
"version": "${version}",
55
"name": "TranslatableDebugOptions",
66
"description": "Make the Debug Option screen translatable.",
77
"authors": ["fireboy637"],

0 commit comments

Comments
 (0)