returned instance get to original location

This commit is contained in:
Samuel Pizette
2022-12-04 17:53:49 -05:00
parent 00f18519b0
commit dc2b7a6fda

View File

@@ -63,16 +63,6 @@ import java.util.logging.Logger;
@ApiStatus.Internal
public interface Eco {
/**
* Get the instance of eco; the bridge between the api frontend and the implementation backend.
*
* @return The instance of eco.
*/
@ApiStatus.Internal
static Eco get() {
return Instance.get();
}
/**
* Create a scheduler.
*
@@ -552,6 +542,16 @@ public interface Eco {
*/
void unregisterCommand(@NotNull final PluginCommand command);
/**
* Get the instance of eco; the bridge between the api frontend and the implementation backend.
*
* @return The instance of eco.
*/
@ApiStatus.Internal
static Eco get() {
return Instance.get();
}
/**
* Manages the internal frontend -> backend communication.
*/