Update Watermark.java
This commit is contained in:
parent
33d00ed6cc
commit
328c9b7b25
|
@ -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) {
|
||||
|
|
Loading…
Reference in New Issue