main #10

Closed
Jakob wants to merge 9 commits from main into NewUpdateChecker
Showing only changes of commit 0163eae97b - Show all commits

View File

@ -5,6 +5,7 @@ import net.t2code.t2codelib.SPIGOT.api.messages.T2Ctemplate;
import net.t2code.t2codelib.SPIGOT.system.CreateReportLog;
import net.t2code.t2codelib.SPIGOT.system.config.config.SelectLibConfig;
import net.t2code.t2codelib.Util;
import org.bukkit.Bukkit;
import org.bukkit.command.Command;
import org.bukkit.command.CommandExecutor;
import org.bukkit.command.CommandSender;
@ -44,13 +45,13 @@ public class CmdExecuter implements CommandExecutor, TabCompleter {
return false;
}
if ("createreportlog".equals(args[1].toLowerCase())) {
Bukkit.getScheduler().runTaskAsynchronously(T2CodeMain.getPlugin(), new Runnable() {
Bukkit.getScheduler().runTaskAsynchronously(T2CodeLibMain.getPlugin(), new Runnable() {
@Override
public void run() {
CreateReportLog.create(sender);
}
});
} else send.sender(sender, "§4Use: §7/t2code debug createReportLog");
} else T2Csend.sender(sender, "§4Use: §7/t2code debug createReportLog");
return false;
default: