diff --git a/src/main/java/us/tastybento/bskyblock/BSkyBlock.java b/src/main/java/us/tastybento/bskyblock/BSkyBlock.java index eb9a61e61..25f5676e6 100755 --- a/src/main/java/us/tastybento/bskyblock/BSkyBlock.java +++ b/src/main/java/us/tastybento/bskyblock/BSkyBlock.java @@ -255,4 +255,9 @@ public class BSkyBlock extends JavaPlugin implements BSModule { public String getIdentifier() { return getDescription().getName(); } + + @Override + public boolean isAddon() { + return false; + } } diff --git a/src/main/java/us/tastybento/bskyblock/api/BSModule.java b/src/main/java/us/tastybento/bskyblock/api/BSModule.java index 367bffed7..c59873267 100644 --- a/src/main/java/us/tastybento/bskyblock/api/BSModule.java +++ b/src/main/java/us/tastybento/bskyblock/api/BSModule.java @@ -3,4 +3,5 @@ package us.tastybento.bskyblock.api; public interface BSModule { String getIdentifier(); + boolean isAddon(); } diff --git a/src/main/java/us/tastybento/bskyblock/api/addons/BSAddon.java b/src/main/java/us/tastybento/bskyblock/api/addons/BSAddon.java index 3b04c3e60..df30d0cf1 100644 --- a/src/main/java/us/tastybento/bskyblock/api/addons/BSAddon.java +++ b/src/main/java/us/tastybento/bskyblock/api/addons/BSAddon.java @@ -31,4 +31,9 @@ public abstract class BSAddon implements BSModule { public String getIdentifier() { return getDescription().getName(); } + + @Override + public boolean isAddon() { + return true; + } }