Change name variable

This commit is contained in:
2025-01-22 10:48:15 +05:00
parent c73269a37b
commit ffeef0b7ac
2 changed files with 15 additions and 6 deletions

View File

@@ -22,7 +22,7 @@ public final class DonPayIntegPlug extends JavaPlugin {
scheduler.runTaskTimer(this, () -> {
thread.set(new DonateThread(this.getLogger()));
thread.get().start();
}, 1, 20 * ConfigHandler.load().getReqPerSec());
}, 1, 20 * ConfigHandler.load().getReqCooldown());
scheduler.runTaskTimer(this, () -> {
if (!commands.isEmpty()) {
this.getServer().dispatchCommand(Bukkit.getConsoleSender(), commands.getFirst());