3 Commits

Author SHA1 Message Date
40c5d5772f Updated to 1.21.11
Some checks failed
build / build (21) (push) Has been cancelled
2026-03-09 09:26:19 +05:00
a2119a15ed Update builder
All checks were successful
build / build (21) (push) Successful in 2m7s
2025-01-22 11:10:46 +05:00
745f368fb8 Update .gitea/workflows/build.yml
All checks were successful
build / build (21) (push) Successful in 2m28s
2025-01-22 14:06:38 +08:00
3 changed files with 6 additions and 6 deletions

View File

@@ -44,10 +44,10 @@ jobs:
- name: Make release
uses: akkuman/gitea-release-action@v1
with:
name: DonatePay Integration ${{ matrix.java }}-${{ gitea.run_number }}
tag_name: donpayintegplug-${{ matrix.java }}-${{ gitea.run_number }}
name: DonatePay Integration v${{ gitea.run_number }}
tag_name: donpayintegplug-v${{ gitea.run_number }}
md5sum: true
sha256sum: true
files: |-
# *.jar
build/libs/**
# *.jar

View File

@@ -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'

View File

@@ -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