From ffda150a9e13d14cee1830908bfcbd06b897f286 Mon Sep 17 00:00:00 2001 From: TechnicJelle <22576047+TechnicJelle@users.noreply.github.com> Date: Sat, 6 May 2023 02:08:48 +0200 Subject: [PATCH] Disable constructor --- src/main/java/com/technicjelle/MCUtils.java | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/src/main/java/com/technicjelle/MCUtils.java b/src/main/java/com/technicjelle/MCUtils.java index aeab34e..23cdbe5 100644 --- a/src/main/java/com/technicjelle/MCUtils.java +++ b/src/main/java/com/technicjelle/MCUtils.java @@ -15,6 +15,11 @@ import java.nio.file.StandardOpenOption; public class MCUtils { + + private MCUtils() { + throw new IllegalStateException("Utility class"); + } + /** * Copies any resource from your plugin's resource folder in the jar, to your plugin's config folder. *