From 328c9b7b256e5e46c3ca65badc822d37d23319f2 Mon Sep 17 00:00:00 2001 From: kirillsaint Date: Thu, 31 Aug 2023 18:29:13 +0600 Subject: [PATCH] Update Watermark.java --- .../net/silentclient/client/gui/hud/Watermark.java | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) diff --git a/src/main/java/net/silentclient/client/gui/hud/Watermark.java b/src/main/java/net/silentclient/client/gui/hud/Watermark.java index 372da9a..22b89b1 100644 --- a/src/main/java/net/silentclient/client/gui/hud/Watermark.java +++ b/src/main/java/net/silentclient/client/gui/hud/Watermark.java @@ -47,23 +47,23 @@ public class Watermark { switch (Client.getInstance().getSettingsManager().getSettingByClass(GeneralMod.class, "Silent Logo Location").getValString()) { case "Bottom Right Corner": x = 5; - y = scaledResolution.getScaledHeight() - 23; + y = scaledResolution.getScaledHeight() - 23 + (21 / 2) - 5 + 3; break; case "Bottom Left Corner": x = scaledResolution.getScaledWidth() - width; - y = scaledResolution.getScaledHeight() - 23; + y = scaledResolution.getScaledHeight() - 23 + (21 / 2) - 5 + 3; break; case "Top Right Corner": x = 5; - y = 3; + y = 3 + (21 / 2) - 5 - 3; break; case "Top Left Corner": x = scaledResolution.getScaledWidth() - width; - y = 3; + y = 3 + (21 / 2) - 5 - 3; break; } - Client.getInstance().getSilentFontRenderer().drawString(Client.getInstance().getFullVersion(), x, y + (21 / 2) - 5 + 3, 10, SilentFontRenderer.FontType.TITLE); + Client.getInstance().getSilentFontRenderer().drawString(Client.getInstance().getFullVersion(), x, y, 10, SilentFontRenderer.FontType.TITLE); } public void render(int x, int y) {