diff --git a/common/src/main/java/net/william278/huskhomes/network/RedisBroker.java b/common/src/main/java/net/william278/huskhomes/network/RedisBroker.java index 4b5b4c4e..ce622d59 100644 --- a/common/src/main/java/net/william278/huskhomes/network/RedisBroker.java +++ b/common/src/main/java/net/william278/huskhomes/network/RedisBroker.java @@ -63,7 +63,9 @@ public class RedisBroker extends PluginMessageBroker { // Subscribe using a thread (rather than a task) subscriber.enable(jedisPool); - new Thread(subscriber::subscribe, "huskhomes:redis_subscriber").start(); + final Thread thread = new Thread(subscriber::subscribe, "huskhomes:redis_subscriber"); + thread.setDaemon(true); + thread.start(); } @NotNull