From 0049afd8eb4de137b6e9d00315a3d1ccc5666d4d Mon Sep 17 00:00:00 2001 From: "Vincent B." <79211348+Snabeldier@users.noreply.github.com> Date: Sun, 22 Dec 2024 21:56:49 +0100 Subject: [PATCH] chore(CoreServer): adjust methods to match the ones in Core (#255) --- .../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 335edff..1879908 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);