Skip to content

Commit 0641b61

Browse files
Update util.go
1 parent 5fc43ae commit 0641b61

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

  • pkg/edition/java/proto/packet/plugin

pkg/edition/java/proto/packet/plugin/util.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -112,7 +112,7 @@ func ConstructChannelsPacket(protocol proto.Protocol, channels ...string) *Messa
112112
}
113113

114114
// RewriteMinecraftBrand rewrites the brand message to indicate the presence of the proxy.
115-
func RewriteMinecraftBrand(message *Message, protocol proto.Protocol) *Message {
115+
var RewriteMinecraftBrand = func(message *Message, protocol proto.Protocol) *Message {
116116
if message == nil || !McBrand(message) {
117117
return message
118118
}

0 commit comments

Comments
 (0)