diff options
Diffstat (limited to 'src/main/java/cc/polyfrost/oneconfig/hud')
-rw-r--r-- | src/main/java/cc/polyfrost/oneconfig/hud/HudCore.java | 21 |
1 files changed, 0 insertions, 21 deletions
diff --git a/src/main/java/cc/polyfrost/oneconfig/hud/HudCore.java b/src/main/java/cc/polyfrost/oneconfig/hud/HudCore.java deleted file mode 100644 index c3e7f9b..0000000 --- a/src/main/java/cc/polyfrost/oneconfig/hud/HudCore.java +++ /dev/null @@ -1,21 +0,0 @@ -package cc.polyfrost.oneconfig.hud; - -import cc.polyfrost.oneconfig.events.event.HudRenderEvent; -import gg.essential.universal.UResolution; -import me.kbrewster.eventbus.Subscribe; - -import java.util.ArrayList; - -public class HudCore { - public static ArrayList<BasicHud> huds = new ArrayList<>(); - public static boolean editing = false; - - @Subscribe - public void onRender(HudRenderEvent event) { - if (editing) return; - for (BasicHud hud : huds) { - if (hud.enabled) - hud.drawAll(hud.getXScaled(UResolution.getScaledWidth()), hud.getYScaled(UResolution.getScaledHeight()), hud.scale, true); - } - } -} |