Skip to content

Commit 5b4c2c2

Browse files
committed
it turns out it was a skill issue on my end
1 parent 23e6fce commit 5b4c2c2

File tree

3 files changed

+2
-31
lines changed

3 files changed

+2
-31
lines changed

src/main/java/gregtech/mixins/mui2/LangKeyMixin.java

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -16,6 +16,6 @@ public abstract class LangKeyMixin extends BaseKey {
1616
at = @At(value = "INVOKE",
1717
target = "Lnet/minecraft/client/resources/I18n;format(Ljava/lang/String;[Ljava/lang/Object;)Ljava/lang/String;"))
1818
public String getTranslateKey(String translateKey, Object[] parameters) {
19-
return LocaleAccessor.getRawKey(translateKey);
19+
return LocaleAccessor.getRawKey(translateKey).replace("\\n", "\n");
2020
}
2121
}

src/main/java/gregtech/mixins/mui2/TextCompilerMixin.java

Lines changed: 0 additions & 27 deletions
This file was deleted.

src/main/resources/mixins.gregtech.mui2.json

Lines changed: 1 addition & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -7,9 +7,7 @@
77
"injectors": {
88
"maxShiftBy": 10
99
},
10-
"mixins": [
11-
"TextCompilerMixin"
12-
],
10+
"mixins": [],
1311
"client": [
1412
"LangKeyMixin"
1513
],

0 commit comments

Comments
 (0)