Support 1.21.124

This commit is contained in:
Javier León
2026-01-03 06:45:39 -03:00
parent 46f09cb8d5
commit 2dfa42d3a4
2 changed files with 13 additions and 0 deletions

View File

@@ -21,6 +21,7 @@ var (
// must be set to true if you're using Dragonfly.
func All(dragonflyMapping bool) []minecraft.Protocol {
return []minecraft.Protocol{
New860(dragonflyMapping),
New859(dragonflyMapping),
New844(dragonflyMapping),
New827(dragonflyMapping),

12
legacyver/v860.go Normal file
View File

@@ -0,0 +1,12 @@
package legacyver
import (
"github.com/akmalfairuz/legacy-version/legacyver/proto"
)
func New860(dragonflyMapping bool) *Protocol {
p := New859(dragonflyMapping)
p.ver = "1.21.124"
p.id = proto.ID860
return p
}