Skip to content

Commit

Permalink
chore(CoreServer): adjust methods to match the ones in Core (#255)
Browse files Browse the repository at this point in the history
  • Loading branch information
Snabeldier authored Dec 22, 2024
1 parent d8b23f9 commit 0049afd
Showing 1 changed file with 8 additions and 8 deletions.
16 changes: 8 additions & 8 deletions src/main/java/minevalley/core/api/CoreServer.java
Original file line number Diff line number Diff line change
Expand Up @@ -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);
Expand Down Expand Up @@ -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();
Expand All @@ -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);
Expand Down

0 comments on commit 0049afd

Please sign in to comment.