diff --git a/Plan/src/main/java/com/djrapitops/plan/system/cache/CacheSystem.java b/Plan/src/main/java/com/djrapitops/plan/system/cache/CacheSystem.java index a6e0e5b58..152cc6f10 100644 --- a/Plan/src/main/java/com/djrapitops/plan/system/cache/CacheSystem.java +++ b/Plan/src/main/java/com/djrapitops/plan/system/cache/CacheSystem.java @@ -5,9 +5,7 @@ package com.djrapitops.plan.system.cache; import com.djrapitops.plan.api.exceptions.EnableException; -import com.djrapitops.plan.system.PlanSystem; import com.djrapitops.plan.system.SubSystem; -import com.djrapitops.plugin.utilities.Verify; import javax.inject.Inject; @@ -27,13 +25,6 @@ public class CacheSystem implements SubSystem { this.geolocationCache = geolocationCache; } - @Deprecated - public static CacheSystem getInstance() { - CacheSystem cacheSystem = PlanSystem.getInstance().getCacheSystem(); - Verify.nullCheck(cacheSystem, () -> new IllegalStateException("Cache System was not initialized.")); - return cacheSystem; - } - @Override public void enable() throws EnableException { dataCache.enable();