Merge pull request #2 from NiChrosia/patch-1

Reset HudUi on ResetEvent
This commit is contained in:
Sharlotte
2021-05-14 09:35:20 +09:00
committed by GitHub

View File

@@ -24,6 +24,11 @@ public class Main extends Mod {
hud.addWaveTable();
});
Events.on(ResetEvent.class, e -> {
HudUi hud = new HudUi();
hud.addWaveTable();
});
Events.run(Trigger.draw, () -> {
if(Core.settings.getBool("unithealthui"))
Groups.unit.each(unit -> new FreeBar().draw(unit));