Updated to 1.21.11
Some checks are pending
build / build (21) (push) Waiting to run

This commit is contained in:
2026-03-09 09:26:19 +05:00
parent a2119a15ed
commit 40c5d5772f
2 changed files with 3 additions and 3 deletions

View File

@@ -23,7 +23,7 @@ configurations {
} }
dependencies { dependencies {
compileOnly("io.papermc.paper:paper-api:1.20-R0.1-SNAPSHOT") compileOnly("io.papermc.paper:paper-api:1.21.11-R0.1-SNAPSHOT")
implementation group: 'org.yaml', name: 'snakeyaml', version: '2.3' implementation group: 'org.yaml', name: 'snakeyaml', version: '2.3'
includedJars group: 'org.yaml', name: 'snakeyaml', version: '2.3' includedJars group: 'org.yaml', name: 'snakeyaml', version: '2.3'

View File

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