From 09b06aef681fcc807d7b1d5d11f2590326ebf416 Mon Sep 17 00:00:00 2001 From: Hashim Date: Sun, 15 Dec 2024 06:53:51 -0500 Subject: [PATCH] packet/pool: Fix usage of incorrect packet ID constant (#276) --- minecraft/protocol/packet/pool.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/minecraft/protocol/packet/pool.go b/minecraft/protocol/packet/pool.go index 6f031848..dc5f63c0 100644 --- a/minecraft/protocol/packet/pool.go +++ b/minecraft/protocol/packet/pool.go @@ -317,7 +317,7 @@ func init() { IDLecternUpdate: func() Packet { return &LecternUpdate{} }, IDClientCacheStatus: func() Packet { return &ClientCacheStatus{} }, IDMapCreateLockedCopy: func() Packet { return &MapCreateLockedCopy{} }, - IDStructureTemplateDataExportRequest: func() Packet { return &StructureTemplateDataRequest{} }, + IDStructureTemplateDataRequest: func() Packet { return &StructureTemplateDataRequest{} }, IDStructureTemplateDataResponse: func() Packet { return &StructureTemplateDataResponse{} }, IDClientCacheBlobStatus: func() Packet { return &ClientCacheBlobStatus{} }, IDEmote: func() Packet { return &Emote{} },