From f4c6691b628cca146ddb44e77f54cb46387aa15d Mon Sep 17 00:00:00 2001 From: DeDiamondPro <67508414+DeDiamondPro@users.noreply.github.com> Date: Mon, 6 Jun 2022 14:54:56 +0200 Subject: internalizing --- .../java/cc/polyfrost/oneconfig/hud/HudCore.java | 21 --------------------- 1 file changed, 21 deletions(-) delete mode 100644 src/main/java/cc/polyfrost/oneconfig/hud/HudCore.java (limited to 'src/main/java/cc/polyfrost/oneconfig/hud') 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 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); - } - } -} -- cgit