FontCode:
public static FontUtils MenuXentura = new FontUtils("Comfortaa", Font.PLAIN, 17);
----
Arraylist Font Added:
if (hud.font.isEnabled())
hud.MenuClient.drawStringWithShadow(getModuleRenderString(module), finishedX - (hud.BORDERMODE.getValue() == HUD.bordermode.RIGHT ? hud.borderWidth.getValue() - 2 : 0), finishedY - 3, color);
else
mc.fontRendererObj.drawStringWithShadow(getModuleRenderString(module), finishedX - (hud.BORDERMODE.getValue() == HUD.bordermode.RIGHT ? hud.borderWidth.getValue() - 2 : 0), finishedY - 1, color);
if (delete()) {
if (hud.MODECOLORS.getValue() == HUD.colors.RANDOM) {
if (hud.modColors.get(module) != null) {
hud.modColors.remove(module);
}
}
Client.INSTANCE.getArraylistManager (). GetArrayMembers (). Remove (this);
}
-
Fontbug:
[URL unfurl = "true"]
https://prnt.sc/108rvfh [/ URL]
-
Arraylist sort wrong:
[URL unfurl = "true"]
https://prnt.sc/108ryym [/ URL]
Arraylist Sort Code:
if (font.isEnabled ())
MenuClient.drawStringWithShadow (watermark, 3f, 3, colorWaterMark);
else
getMc (). fontRendererObj.drawStringWithShadow (watermark, 3f, 3, colorWaterMark);
if (! animations.isEnabled ()) {
float posY = 3;
final ArrayList <Module> mods = new ArrayList <> (Client.INSTANCE.getModuleManager (). getModuleMap (). values ());
mods.sort (Comparator.comparingDouble (module -> - (font.isEnabled ()? MenuClient.getStringWidth (getModuleRenderString (module)): MenuClient.getStringWidth (getModuleRenderString (module)))));
for (Module module: mods) {
if (! module.isEnabled () || module.isHidden ()) {
if (MODECOLORS.getValue () == HUD.colors.RANDOM) {
if (modColors.get (module)! = null) {
modColors.remove (module);
}
}
i guess that was all
[/ QUOTE]
the sort was correct but idk why does the font does that