Skip to content

Commit

Permalink
Fix missing import.
Browse files Browse the repository at this point in the history
  • Loading branch information
Staartvin committed Jun 29, 2016
1 parent 5806dde commit 5724a7e
Showing 1 changed file with 2 additions and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -10,6 +10,7 @@
import me.armar.plugins.autorank.statsmanager.handlers.DummyHandler;
import me.armar.plugins.autorank.statsmanager.handlers.StatisticsHandler;
import me.armar.plugins.autorank.statsmanager.handlers.StatsHandler;
import me.armar.plugins.autorank.statsmanager.StatsPlugin;

/**
* This class decides which Stats plugin will be used for getting stat data.
Expand Down Expand Up @@ -98,7 +99,7 @@ public void searchStatsPlugin() {
plugin.getLogger().info("Hooked into Statistics (by bitWolfy)");
} else {
// Use dummy handler if no stats plugin was found
statsPlugin = new DummyHandler();
statsPlugin = (StatsPlugin) new DummyHandler();

plugin.getLogger().info("No stats plugin found! Most requirements cannot be used!");

Expand Down

0 comments on commit 5724a7e

Please sign in to comment.