diff --git a/common/src/eu/e99/svc/io/MessageRegistry.java b/common/src/eu/e99/svc/io/MessageRegistry.java index b7bd42d..67b5f0e 100644 --- a/common/src/eu/e99/svc/io/MessageRegistry.java +++ b/common/src/eu/e99/svc/io/MessageRegistry.java @@ -1,7 +1,5 @@ package eu.e99.svc.io; -import eu.e99.svc.packet.*; - import java.io.IOException; import java.util.HashMap; import java.util.Map; @@ -19,7 +17,8 @@ public class MessageRegistry { public BinaryMessage readMessage(Reader reader) throws IOException { int id = reader.readInt(); - Supplier supplier = this.messagesById.get(id);; + Supplier supplier = this.messagesById.get(id); + ; if (supplier == null) { throw new RuntimeException("Failed to find message with id " + id); } diff --git a/server/src/eu/e99/svc/server/Main.java b/server/src/eu/e99/svc/server/Main.java index 700e86b..8fac3f9 100644 --- a/server/src/eu/e99/svc/server/Main.java +++ b/server/src/eu/e99/svc/server/Main.java @@ -5,7 +5,6 @@ import javax.net.ssl.SSLContext; import javax.net.ssl.SSLServerSocketFactory; import java.io.FileInputStream; import java.io.IOException; -import java.net.Inet4Address; import java.net.InetSocketAddress; import java.net.ServerSocket; import java.security.KeyStore;