Delomboked getInstance()
This commit is contained in:
@@ -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.
|
||||
* <p>
|
||||
* Bad practice to use this.
|
||||
*
|
||||
* @return The instance.
|
||||
*/
|
||||
public static EcoEnchantsPlugin getInstance() {
|
||||
return instance;
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user