You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
if (!config.showAccountStatus.get() && !config.showProxiesStatus.get()) {
117
+
return;
118
+
}
119
+
120
+
// Shifts the top left account and proxy text to right if buttons are also top left
121
+
intx = MARGIN;
122
+
if (config.proxiesButtonAnchor.get() != Config.ButtonPosition.Hidden && config.proxiesButtonAnchor.get() == Config.ButtonPosition.TopLeft) {
123
+
x += BUTTON_WIDTH + GAP;
124
+
}
125
+
if (config.accountButtonAnchor.get() != Config.ButtonPosition.Hidden && config.accountButtonAnchor.get() == Config.ButtonPosition.TopLeft) {
126
+
x += BUTTON_WIDTH + GAP;
127
+
}
128
+
129
+
inty = MARGIN;
82
130
83
131
// Logged in as
84
-
context.drawTextWithShadow(mc.textRenderer, loggedInAs, x, y, textColor1);
85
-
context.drawTextWithShadow(mc.textRenderer, Modules.get().get(NameProtect.class).getName(client.getSession().getUsername()), x + loggedInAsLength, y, textColor2);
132
+
if (config.showAccountStatus.get()) {
133
+
context.drawTextWithShadow(mc.textRenderer, loggedInAs, x, y, textColor1);
134
+
context.drawTextWithShadow(mc.textRenderer, Modules.get().get(NameProtect.class).getName(client.getSession().getUsername()), x + loggedInAsLength, y, textColor2);
0 commit comments