diff --git a/eco-core/core-plugin/src/main/java/com/willfp/ecoenchants/EcoEnchantsPlugin.java b/eco-core/core-plugin/src/main/java/com/willfp/ecoenchants/EcoEnchantsPlugin.java index 72007462..814b5dff 100644 --- a/eco-core/core-plugin/src/main/java/com/willfp/ecoenchants/EcoEnchantsPlugin.java +++ b/eco-core/core-plugin/src/main/java/com/willfp/ecoenchants/EcoEnchantsPlugin.java @@ -43,7 +43,6 @@ public class EcoEnchantsPlugin extends EcoPlugin { /** * Instance of the plugin. */ - @Getter private static EcoEnchantsPlugin instance; /** @@ -177,4 +176,15 @@ public class EcoEnchantsPlugin extends EcoPlugin { public String getMinimumEcoVersion() { return "6.10.0"; } + + /** + * Get the instance of EcoEnchants. + *
+ * Bad practice to use this. + * + * @return The instance. + */ + public static EcoEnchantsPlugin getInstance() { + return instance; + } }