aboutsummaryrefslogtreecommitdiff
path: root/src/main/java/cc/polyfrost/oneconfig/utils/Notifications.java
diff options
context:
space:
mode:
Diffstat (limited to 'src/main/java/cc/polyfrost/oneconfig/utils/Notifications.java')
-rw-r--r--src/main/java/cc/polyfrost/oneconfig/utils/Notifications.java1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/main/java/cc/polyfrost/oneconfig/utils/Notifications.java b/src/main/java/cc/polyfrost/oneconfig/utils/Notifications.java
index 2e64040..5ce15d4 100644
--- a/src/main/java/cc/polyfrost/oneconfig/utils/Notifications.java
+++ b/src/main/java/cc/polyfrost/oneconfig/utils/Notifications.java
@@ -226,6 +226,7 @@ public final class Notifications {
@Subscribe
private void onHudRender(HudRenderEvent event) {
+ if (notifications.size() == 0) return;
RenderManager.setupAndDraw((vg) -> {
float desiredPosition = -16f;
float scale = OneConfigGui.getScaleFactor();