fixup codes

This commit is contained in:
2025-08-26 12:06:00 +08:00
committed by 蒟蒻
parent 093fdaaecf
commit 9ae126c648
252 changed files with 627 additions and 369 deletions
+1 -1
View File
@@ -5,7 +5,7 @@ package client
import (
"io"
"github.com/Tnze/go-mc/net/packet"
"git.konjactw.dev/falloutBot/go-mc/net/packet"
)
func (c *LoginCookieRequest) ReadFrom(r io.Reader) (n int64, err error) {
@@ -1,6 +1,6 @@
package client
import "github.com/Tnze/go-mc/data/packetid"
import "git.konjactw.dev/falloutBot/go-mc/data/packetid"
//codec:gen
type LoginCookieRequest struct {
@@ -1,6 +1,6 @@
package client
import "github.com/Tnze/go-mc/data/packetid"
import "git.konjactw.dev/falloutBot/go-mc/data/packetid"
//codec:gen
type LoginCustomQuery struct {
+1 -1
View File
@@ -1,6 +1,6 @@
package client
import "github.com/Tnze/go-mc/data/packetid"
import "git.konjactw.dev/falloutBot/go-mc/data/packetid"
//codec:gen
type LoginHello struct {
@@ -1,6 +1,6 @@
package client
import "github.com/Tnze/go-mc/data/packetid"
import "git.konjactw.dev/falloutBot/go-mc/data/packetid"
//codec:gen
type LoginLoginCompression struct {
@@ -1,8 +1,8 @@
package client
import (
"github.com/Tnze/go-mc/chat"
"github.com/Tnze/go-mc/data/packetid"
"git.konjactw.dev/falloutBot/go-mc/chat"
"git.konjactw.dev/falloutBot/go-mc/data/packetid"
)
//codec:gen
@@ -1,9 +1,10 @@
package client
import (
"github.com/Tnze/go-mc/data/packetid"
"github.com/Tnze/go-mc/yggdrasil/user"
"github.com/google/uuid"
"git.konjactw.dev/falloutBot/go-mc/data/packetid"
"git.konjactw.dev/falloutBot/go-mc/yggdrasil/user"
)
//codec:gen
+2 -2
View File
@@ -1,8 +1,8 @@
package client
import (
"github.com/Tnze/go-mc/data/packetid"
pk "github.com/Tnze/go-mc/net/packet"
"git.konjactw.dev/falloutBot/go-mc/data/packetid"
pk "git.konjactw.dev/falloutBot/go-mc/net/packet"
)
type ClientboundPacket interface {