diff --git a/Client Holocore b/Client Holocore index 8aa5f68..78e47b3 160000 --- a/Client Holocore +++ b/Client Holocore @@ -1 +1 @@ -Subproject commit 8aa5f68a1df95689175ba59b7a58ae5753bd0c1e +Subproject commit 78e47b324ecab4637fb39cd9319d0a17dff29293 diff --git a/src/com/projectswg/networking/server/ServerConnectionService.java b/src/com/projectswg/networking/server/ServerConnectionService.java index 1b8c35f..ed73835 100644 --- a/src/com/projectswg/networking/server/ServerConnectionService.java +++ b/src/com/projectswg/networking/server/ServerConnectionService.java @@ -105,8 +105,8 @@ public class ServerConnectionService extends Service { public ConnectionThread(HolocoreSocket connection) { this.connection = connection; this.lastHeartbeat = new AtomicLong(0); - this.thread = new PswgBasicThread("server-connection", () -> run()); - this.heartbeatThread = new PswgBasicScheduledThread("server-heartbeat", () -> heartbeat()); + this.thread = new PswgBasicThread("server-connection", this::run); + this.heartbeatThread = new PswgBasicScheduledThread("server-heartbeat", this::heartbeat); this.outQueue = new LinkedList<>(); this.recvIntentChain = null; }