From 784b76730513d906254d9705d1af3869ed6c25b6 Mon Sep 17 00:00:00 2001 From: Heliosares Date: Fri, 12 Apr 2024 14:28:03 -0400 Subject: [PATCH] Formatting --- .../java/dev/heliosares/auxprotect/api/AuxProtectAPI.java | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) diff --git a/src/main/java/dev/heliosares/auxprotect/api/AuxProtectAPI.java b/src/main/java/dev/heliosares/auxprotect/api/AuxProtectAPI.java index 35d95b0..9b1e3e5 100644 --- a/src/main/java/dev/heliosares/auxprotect/api/AuxProtectAPI.java +++ b/src/main/java/dev/heliosares/auxprotect/api/AuxProtectAPI.java @@ -13,8 +13,6 @@ import dev.heliosares.auxprotect.utils.SQLConsumer; import javax.annotation.Nonnull; import javax.annotation.Nullable; -import java.lang.annotation.Retention; -import java.lang.annotation.RetentionPolicy; import java.sql.SQLException; import java.util.function.Consumer; @@ -39,7 +37,7 @@ public final class AuxProtectAPI { if (instance != null && !(plugin instanceof AuxProtectSpigot) && !(plugin instanceof AuxProtectBungee)) { throw new IllegalStateException("Instance already set"); } - if(!plugin.getClass().getPackageName().startsWith("dev.heliosares.auxprotect.")) { + if (!plugin.getClass().getPackageName().startsWith("dev.heliosares.auxprotect.")) { throw new IllegalArgumentException("Can not set instance of plugin with non-AuxProtect instance"); } instance = plugin;