1.21.4 nms (#39)

Add support to disable too expensive for 1.21.4
This commit is contained in:
alexcrea 2024-12-03 20:01:12 +01:00 committed by GitHub
parent 71dd823d3e
commit 70767aefd2
No known key found for this signature in database
GPG key ID: B5690EEEBB952194
6 changed files with 86 additions and 1 deletions

View file

@ -7,6 +7,7 @@ import org.bukkit.entity.Player
import xyz.alexcrea.cuanvil.dependency.packet.PacketManager
import xyz.alexcrea.cuanvil.dependency.packet.PacketManagerBase
// Todo: replace it by the mojang mapped version when paper dev bundle release
class V1_21R2_PacketManager : PacketManagerBase(), PacketManager {
override val canSetInstantBuild: Boolean
get() = true