diff --git a/proxy/src/main/java/me/mrnavastar/protoweaver/proxy/Velocity.java b/proxy/src/main/java/me/mrnavastar/protoweaver/proxy/Velocity.java index 7c966d3..42eb337 100644 --- a/proxy/src/main/java/me/mrnavastar/protoweaver/proxy/Velocity.java +++ b/proxy/src/main/java/me/mrnavastar/protoweaver/proxy/Velocity.java @@ -57,9 +57,7 @@ public void onProxyShutdown(ProxyShutdownEvent event) { @Override public List getServers() { - return proxy.getAllServers().stream() - .map(server -> new ProtoServer(server.getServerInfo().getName(), server.getServerInfo().getAddress())) - .toList(); + return proxy.getAllServers().stream().map(server -> new ProtoServer(server.getServerInfo().getName(), server.getServerInfo().getAddress())).toList(); } @Override diff --git a/proxy/src/main/java/me/mrnavastar/protoweaver/proxy/Waterfall.java b/proxy/src/main/java/me/mrnavastar/protoweaver/proxy/Waterfall.java index 47645cb..ee73d8d 100644 --- a/proxy/src/main/java/me/mrnavastar/protoweaver/proxy/Waterfall.java +++ b/proxy/src/main/java/me/mrnavastar/protoweaver/proxy/Waterfall.java @@ -25,9 +25,7 @@ public void onDisable() { @Override public List getServers() { - return getProxy().getServersCopy().values().stream() - .map(server -> new ProtoServer(server.getName(), server.getSocketAddress())) - .toList(); + return getProxy().getServersCopy().values().stream().map(server -> new ProtoServer(server.getName(), server.getSocketAddress())).toList(); } @Override