This commit is contained in:
@@ -23,7 +23,7 @@ configurations {
|
||||
}
|
||||
|
||||
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'
|
||||
includedJars group: 'org.yaml', name: 'snakeyaml', version: '2.3'
|
||||
|
||||
@@ -22,13 +22,13 @@ public final class DonPayIntegPlug extends JavaPlugin {
|
||||
scheduler.runTaskTimer(this, () -> {
|
||||
thread.set(new DonateThread(this.getLogger()));
|
||||
thread.get().start();
|
||||
}, 1, 20 * ConfigHandler.load().getReqCooldown());
|
||||
}, 1, 20L * ConfigHandler.load().getReqCooldown());
|
||||
scheduler.runTaskTimer(this, () -> {
|
||||
if (!commands.isEmpty()) {
|
||||
this.getServer().dispatchCommand(Bukkit.getConsoleSender(), commands.getFirst());
|
||||
commands.removeFirst();
|
||||
}
|
||||
}, 1, 20 * ConfigHandler.load().getCmdCooldown());
|
||||
}, 1, 20L * ConfigHandler.load().getCmdCooldown());
|
||||
}
|
||||
|
||||
@Override
|
||||
|
||||
Reference in New Issue
Block a user