Removed unused code

This commit is contained in:
Fabrizio La Rosa 2020-08-03 18:31:37 +02:00
parent f633b7dab2
commit cced4fe71f

View File

@ -26,15 +26,15 @@ public class ReloadCommand extends SubCommand {
@Override
public void onCommandByPlayer(Player player, String[] args) {
onCommand(player, args);
onCommand(player);
}
@Override
public void onCommandByConsole(ConsoleCommandSender sender, String[] args) {
onCommand(sender, args);
onCommand(sender);
}
public void onCommand(CommandSender sender, String[] args) {
public void onCommand(CommandSender sender) {
LeaderboardManager leaderboardManager = plugin.getLeaderboardManager();
MessageManager messageManager = plugin.getMessageManager();
SoundManager soundManager = plugin.getSoundManager();