This commit is contained in:
@@ -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'
|
||||||
|
|||||||
@@ -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
|
||||||
|
|||||||
Reference in New Issue
Block a user