From dc2b7a6fda1f8d0abb3e91ed981c757018628103 Mon Sep 17 00:00:00 2001 From: Samuel Pizette Date: Sun, 4 Dec 2022 17:53:49 -0500 Subject: [PATCH] returned instance get to original location --- .../main/java/com/willfp/eco/core/Eco.java | 20 +++++++++---------- 1 file changed, 10 insertions(+), 10 deletions(-) diff --git a/eco-api/src/main/java/com/willfp/eco/core/Eco.java b/eco-api/src/main/java/com/willfp/eco/core/Eco.java index cc3cd60d..07f97fdf 100644 --- a/eco-api/src/main/java/com/willfp/eco/core/Eco.java +++ b/eco-api/src/main/java/com/willfp/eco/core/Eco.java @@ -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. */