Fix FightServer.kt and VelocityServer.kt @get:Optional annotations complaining about primitive types of field

This commit is contained in:
2026-07-17 16:40:38 +02:00
parent d84ca3547a
commit 95119fc93f
2 changed files with 6 additions and 6 deletions
+2 -2
View File
@@ -24,11 +24,11 @@ open class VelocityServer : DevServer() {
@get:Input
@get:Optional
var packetDecodeLogging: Boolean = false
var packetDecodeLogging: Boolean? = false
init {
doFirst {
if (packetDecodeLogging) dParams.put("velocity.packet-decode-logging", "true")
if (packetDecodeLogging == true) dParams.put("velocity.packet-decode-logging", "true")
}
}
}