diff --git a/src/main/java/com/songoda/core/gui/CustomizableGui.java b/src/main/java/com/songoda/core/gui/CustomizableGui.java index 63589464..777b6477 100644 --- a/src/main/java/com/songoda/core/gui/CustomizableGui.java +++ b/src/main/java/com/songoda/core/gui/CustomizableGui.java @@ -4,8 +4,6 @@ import com.songoda.core.compatibility.LegacyMaterials; import com.songoda.core.configuration.DataStoreObject; import com.songoda.core.configuration.SimpleDataStore; import com.songoda.core.gui.methods.Clickable; -import java.util.ArrayList; -import java.util.HashMap; import java.util.List; import java.util.Map; import org.bukkit.configuration.ConfigurationSection; diff --git a/src/main/java/com/songoda/core/hooks/EntityStackerManager.java b/src/main/java/com/songoda/core/hooks/EntityStackerManager.java index abd8739f..ea52df65 100644 --- a/src/main/java/com/songoda/core/hooks/EntityStackerManager.java +++ b/src/main/java/com/songoda/core/hooks/EntityStackerManager.java @@ -22,6 +22,16 @@ public class EntityStackerManager { return manager; } + /** + * Check to see if there is a default stacker hook loaded.
+ * NOTE: using a default stacker assumes that this library is shaded + * + * @return returns false if there are no supported plugins + */ + public static boolean isEnabled() { + return manager.isEnabled(); + } + /** * Grab the default hologram plugin.
* NOTE: using a default hologram assumes that this library is shaded