Closed postyizhan closed 2 weeks ago
Nova兼容性就这样
只能让Nova将Leaf识别成Purpur
修改代码: nova/src/main/kotlin/xyz/xenondevs/nova/util/ServerUtils.kt
val SERVER_SOFTWARE by lazy {
when (Bukkit.getVersion().substringAfter('-').substringBefore('-')) {
"Bukkit" -> CRAFT_BUKKIT
"Spigot" -> SPIGOT
"Paper" -> PAPER
"Pufferfish" -> PUFFERFISH
"Tuinity" -> TUINITY
"Purpur" -> PURPUR
"Airplane" -> AIRPLANE
"Leaf" -> PURPUR // !!!此处为添加内容!!! 只能让Leaf先被判为 Purpur
else -> UNKNOWN
}
}
Fixed in b80c8b15d64a774fb7e9ffe6518074f92b4e7acc
In leaf config, set fix_nova_compatibility.enabled
to true to enable this.
版本
均为 1.20.4
paper
leaf