Skip to content

Commit 2c7e2af

Browse files
committed
feat: Add DialogClear and DialogShow packets to packet tests
- Included new packet types DialogClear and DialogShow in the packet_test.go file to enhance testing coverage for Minecraft protocol updates.
1 parent 6faa101 commit 2c7e2af

1 file changed

Lines changed: 2 additions & 0 deletions

File tree

pkg/edition/java/proto/packet/packet_test.go

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -275,6 +275,8 @@ var packets = []proto.Packet{
275275
&cookie.CookieRequest{Key: key.New("minecraft", "test")},
276276
&cookie.CookieResponse{Key: key.New("minecraft", "test"), Payload: []byte("payload")},
277277
&cookie.CookieStore{Key: key.New("minecraft", "test"), Payload: []byte("payload")},
278+
&DialogClear{},
279+
&DialogShow{},
278280
}
279281

280282
func generatePlayerKey() crypto.IdentifiedKey {

0 commit comments

Comments
 (0)