Skip to content

Commit

Permalink
Fixed RadarHud not displaying at all.
Browse files Browse the repository at this point in the history
  • Loading branch information
coltonk9043 committed Jul 23, 2023
1 parent 39044db commit 5816571
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions src/main/java/net/aoba/gui/HudManager.java
Original file line number Diff line number Diff line change
Expand Up @@ -84,19 +84,19 @@ public HudManager() {
// TODO: Dumb workaround but I would like to be able to add HUDs through the pane found on the NavBar
this.activeHuds.add(moduleSelector);
this.activeHuds.add(armorHud);
this.activeHuds.add(infoHud);
this.activeHuds.add(radarHud);
this.activeHuds.add(infoHud);

hudPane.AddHud(moduleSelector);
hudPane.AddHud(armorHud);
hudPane.AddHud(infoHud);
hudPane.AddHud(radarHud);
hudPane.AddHud(infoHud);

settingsPane.AddHud(new OptionsTab("Options", 370, 500, hue, rainbow, ah, effectSpeed));

int xOffset = 335;
for (Category category : Module.Category.values()) {
ClickGuiTab tab = new ClickGuiTab(category.name(), xOffset, 75, true);
ClickGuiTab tab = new ClickGuiTab(category.name(), xOffset, 75);
for (Module module : Aoba.getInstance().moduleManager.modules) {
if (module.getCategory() == category) {
ModuleComponent button = new ModuleComponent(module.getName(), tab, module);
Expand Down

0 comments on commit 5816571

Please sign in to comment.