1
mirror of https://github.com/Shiewk/SModeration.git synced 2026-04-28 05:54:16 +02:00

Use AsyncPlayerPreLoginEvent instead of PlayerLoginEvent

because of its deprecation in Paper 1.21.6, this event disabled re-configuration APIs when a listener is registered for it; we don't want that to happen
This commit is contained in:
Shy
2025-07-09 11:44:23 +02:00
parent ecdd688a79
commit 8a147eb7cf
2 changed files with 18 additions and 5 deletions
+10
View File
@@ -1,5 +1,6 @@
plugins {
id 'java'
id("xyz.jpenilla.run-paper") version "2.3.1"
}
group = 'de.shiewk'
@@ -22,6 +23,15 @@ processResources {
}
}
runServer {
minecraftVersion("1.21.7")
downloadPlugins {
// for testing from other client versions
modrinth("ViaVersion", "5.4.1")
modrinth("ViaBackwards", "5.4.1")
}
}
dependencies {
compileOnly("io.papermc.paper:paper-api:1.21.3-R0.1-SNAPSHOT")
}