From fc3509342bb1f4682f308af74e31548d91130c6e Mon Sep 17 00:00:00 2001 From: Snabeldier <79211348+Snabeldier@users.noreply.github.com> Date: Sun, 22 Dec 2024 21:55:41 +0100 Subject: [PATCH] adjust method order --- .../java/minevalley/core/api/CoreServer.java | 16 ++++++++-------- 1 file changed, 8 insertions(+), 8 deletions(-) diff --git a/src/main/java/minevalley/core/api/CoreServer.java b/src/main/java/minevalley/core/api/CoreServer.java index 335edffe..18799081 100644 --- a/src/main/java/minevalley/core/api/CoreServer.java +++ b/src/main/java/minevalley/core/api/CoreServer.java @@ -90,6 +90,14 @@ public interface CoreServer { void callEvent(Event event); + User getUser(UUID uuid); + + String getName(UUID uniqueId); + + UUID getUniqueId(String name); + + OnlineUser getOnlineUser(Player player); + void registerCommand(PlayerCommand command); void sendTeamChatMessage(String message); @@ -120,10 +128,6 @@ public interface CoreServer { double getStatistic(String key); - User getUser(UUID uuid); - - OnlineUser getOnlineUser(Player player); - ChatMenu createChatMenu(ChatMenu.Option... options); ChatMenu createChatMenu(); @@ -136,10 +140,6 @@ public interface CoreServer { Gson getGson(); - String getName(UUID uniqueId); - - UUID getUniqueId(String name); - String removeColorCodes(String text); String convertColorCodes(String text);