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

Commit

Permalink
ok
Browse files Browse the repository at this point in the history
  • Loading branch information
ManInMyVan committed Nov 28, 2023
1 parent 9787391 commit a70f2c3
Showing 1 changed file with 0 additions and 8 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,6 @@ package net.ccbluex.liquidbounce.ui.client

import net.ccbluex.liquidbounce.SkidBounce.CLIENT_NAME
import net.ccbluex.liquidbounce.SkidBounce.clientVersionText
import net.ccbluex.liquidbounce.api.messageOfTheDay
import net.ccbluex.liquidbounce.lang.translationMenu
import net.ccbluex.liquidbounce.ui.client.altmanager.GuiAltManager
import net.ccbluex.liquidbounce.ui.font.Fonts
Expand Down Expand Up @@ -46,13 +45,6 @@ class GuiMainMenu : GuiScreen() {
Fonts.fontBold180.drawCenteredString(CLIENT_NAME, width / 2F, height / 8F, 4673984, true)
Fonts.font35.drawCenteredString(clientVersionText, width / 2F + 148, height / 8F + Fonts.font35.fontHeight, 0xffffff, true)

val messageOfTheDay = messageOfTheDay?.message
if (messageOfTheDay?.isNotBlank() == true) {
// Draw rect below main rect and within draw MOTD text
drawRect(width / 2f - 115, height / 4f + 190, width / 2f + 115, height / 4f + 200 + Fonts.font35.fontHeight, Integer.MIN_VALUE)
Fonts.font35.drawCenteredString(messageOfTheDay, width / 2F, height / 4f + 197.5f, 0xffffff, true)
}

super.drawScreen(mouseX, mouseY, partialTicks)
}

Expand Down

0 comments on commit a70f2c3

Please sign in to comment.