[Fix] Fix injection issue

This commit is contained in:
Rsl1122 2018-10-25 10:38:17 +03:00
parent b7595b12e8
commit 1d6a6b4b07

View File

@ -4,10 +4,16 @@ import com.djrapitops.plan.system.webserver.cache.PageId;
import com.djrapitops.plan.system.webserver.cache.ResponseCache;
import com.djrapitops.plugin.task.AbsRunnable;
import javax.inject.Inject;
import javax.inject.Singleton;
@Singleton
public class PlayersPageRefreshTask extends AbsRunnable {
@Inject
public PlayersPageRefreshTask() {
}
@Override
public void run() {
ResponseCache.clearResponse(PageId.PLAYERS.id());