Changes method to get the DataRequestHandler

This commit is contained in:
Fuzzlemann 2017-07-30 11:52:15 +02:00
parent b7cd7e18ed
commit 4e7632f7c6

View File

@ -161,7 +161,7 @@ public class Analysis {
}
ExportUtility.export(plugin, analysisData, rawData);
PageCacheHandler.cachePage("analysisPage", () -> new AnalysisPageResponse(Plan.getInstance().getUiServer().getDataReqHandler()));
PageCacheHandler.cachePage("analysisPage", () -> new AnalysisPageResponse(plugin.getUiServer().getDataReqHandler()));
PageCacheHandler.cachePage("players", () -> new PlayersPageResponse(plugin));
} catch (Exception e) {
Log.toLog(this.getClass().getName(), e);