Skip to content

Commit

Permalink
no heartbeat on personal server
Browse files Browse the repository at this point in the history
  • Loading branch information
thelsing committed Oct 23, 2023
1 parent e294f7b commit a9946dc
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -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();
}
Expand Down

0 comments on commit a9946dc

Please sign in to comment.