diff --git a/RedisBungee-API/src/main/java/com/imaginarycode/minecraft/redisbungee/api/ProxyDataManager.java b/RedisBungee-API/src/main/java/com/imaginarycode/minecraft/redisbungee/api/ProxyDataManager.java index 73a7c14..34b7be0 100644 --- a/RedisBungee-API/src/main/java/com/imaginarycode/minecraft/redisbungee/api/ProxyDataManager.java +++ b/RedisBungee-API/src/main/java/com/imaginarycode/minecraft/redisbungee/api/ProxyDataManager.java @@ -35,7 +35,7 @@ import java.util.concurrent.atomic.AtomicBoolean; import static com.google.common.base.Preconditions.checkArgument; -public abstract class ProxyDataManager implements Runnable, AutoCloseable { +public abstract class ProxyDataManager implements Runnable { private static final String STREAM_ID = "redisbungee-stream"; private static final int MAX_ENTRIES = 10000; @@ -360,8 +360,7 @@ public abstract class ProxyDataManager implements Runnable, AutoCloseable { } } - @Override - public void close() throws Exception { + public void close() { closed.set(true); this.publishDeath(); this.heartbeats.clear();