mirror of
https://github.com/Auxilor/EcoEnchants.git
synced 2025-02-08 03:11:19 +01:00
Delomboked getInstance()
This commit is contained in:
parent
a86bfa3754
commit
a659621d43
@ -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;
|
||||
}
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user