From a9946dcce00902222a82066b59ce6ce68205b261 Mon Sep 17 00:00:00 2001 From: Thomas Kunze Date: Mon, 23 Oct 2023 23:05:11 +0200 Subject: [PATCH] no heartbeat on personal server --- src/main/java/net/rptools/maptool/server/MapToolServer.java | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/main/java/net/rptools/maptool/server/MapToolServer.java b/src/main/java/net/rptools/maptool/server/MapToolServer.java index 2ab1bd2e39..e80c695aa3 100644 --- a/src/main/java/net/rptools/maptool/server/MapToolServer.java +++ b/src/main/java/net/rptools/maptool/server/MapToolServer.java @@ -76,7 +76,7 @@ public MapToolServer(ServerConfig config, ServerPolicy policy, PlayerDatabase pl assetProducerThread.start(); // Start a heartbeat if requested - if (!config.isPersonalServer()) { + if (config.isServerRegistered() && !config.isPersonalServer()) { heartbeatThread = new HeartbeatThread(); heartbeatThread.start(); }