From c67e543c03283a9662e078b7563be075da05e9ae Mon Sep 17 00:00:00 2001 From: Juuxel <6596629+Juuxel@users.noreply.github.com> Date: Thu, 26 Nov 2020 23:00:49 +0200 Subject: Add private constructor to the LibGui class --- src/main/java/io/github/cottonmc/cotton/gui/client/LibGui.java | 2 ++ 1 file changed, 2 insertions(+) diff --git a/src/main/java/io/github/cottonmc/cotton/gui/client/LibGui.java b/src/main/java/io/github/cottonmc/cotton/gui/client/LibGui.java index 8b1973a..b55c0fe 100644 --- a/src/main/java/io/github/cottonmc/cotton/gui/client/LibGui.java +++ b/src/main/java/io/github/cottonmc/cotton/gui/client/LibGui.java @@ -12,6 +12,8 @@ import io.github.cottonmc.cotton.gui.impl.client.LibGuiClient; */ @Environment(EnvType.CLIENT) public final class LibGui { + private LibGui() {} + public static boolean isDarkMode() { return LibGuiClient.config.darkMode; } -- cgit