From 8ea2d24574e71e3a71eefb28524c5a547be285ba Mon Sep 17 00:00:00 2001 From: Obique PSWG Date: Mon, 20 Nov 2017 10:45:12 -0600 Subject: [PATCH] Reverted communication style to old method --- Client Holocore | 2 +- .../projectswg/networking/server/ServerConnectionService.java | 4 ++-- 2 files changed, 3 insertions(+), 3 deletions(-) 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; }