Skip to content
This repository has been archived by the owner on Jan 18, 2024. It is now read-only.

Commit

Permalink
1.7.10 support
Browse files Browse the repository at this point in the history
  • Loading branch information
Kamesuta committed Sep 22, 2022
1 parent a04c5e9 commit a083bde
Show file tree
Hide file tree
Showing 3 changed files with 7 additions and 3 deletions.
2 changes: 1 addition & 1 deletion settings.gradle
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
rootProject.name = 'Emojicord'
include ':shared', ':versions'
include /*':versions:1.7.10',*/ ':versions:1.10.2', ':versions:1.12.2', ':versions:1.14.4', ':versions:1.15.2', ':versions:1.16.1'
include ':versions:1.7.10', ':versions:1.10.2', ':versions:1.12.2', ':versions:1.14.4', ':versions:1.15.2', ':versions:1.16.1'
project(':versions').children.each { project ->
project.buildFileName = '../build.subprojects.gradle'
}
Original file line number Diff line number Diff line change
Expand Up @@ -73,8 +73,10 @@ public EmojiSelectionChat(final #if MC_12_LATER ChatScreen #else GuiChat #endif
private void drawString(Compat.CompatMatrixStack compatMatrixStack, String text, float x, float y, int color) {
#if MC_15_LATER
this.font.func_238405_a_(compatMatrixStack.matrix, text, x, y, color);
#else
#elif MC_7_LATER
this.font.drawStringWithShadow(text, x, y, color);
#else
this.font.drawStringWithShadow(text, (int) x, (int) y, color);
#endif
}

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -75,8 +75,10 @@ public EmojiSettings(final #if MC_12_LATER ChatScreen #else GuiChat #endif chatS
private void drawString(Compat.CompatMatrixStack compatMatrixStack, String text, float x, float y, int color) {
#if MC_15_LATER
this.font.func_238405_a_(compatMatrixStack.matrix, text, x, y, color);
#else
#elif MC_7_LATER
this.font.drawStringWithShadow(text, x, y, color);
#else
this.font.drawStringWithShadow(text, (int) x, (int) y, color);
#endif
}

Expand Down

0 comments on commit a083bde

Please sign in to comment.