Force Metrics to submit to TFM even if the plugin is renamed (#119)

This commit is contained in:
Model 3
2018-09-18 06:56:24 -07:00
committed by Seth
parent d58ee9f590
commit 322ed77232
5 changed files with 9 additions and 12 deletions

View File

@ -31,7 +31,7 @@ public class CommandLoader extends FreedomService
handler.setOnlyPlayerMessage(ChatColor.RED + "This command can only be used by players.");
handler.loadFrom(FreedomCommand.class.getPackage());
handler.registerAll("TotalFreedomMod", true);
handler.registerAll(plugin.getDescription().getName(), true);
FLog.info("Loaded " + handler.getExecutors().size() + " commands.");
}