mirror of
https://github.com/CosmicStar98/bedrocktool.git
synced 2024-06-01 20:45:16 +00:00
14 lines
277 B
Go
14 lines
277 B
Go
package main
|
|
|
|
import (
|
|
"github.com/sandertv/gophertunnel/minecraft"
|
|
"github.com/sandertv/gophertunnel/minecraft/protocol/packet"
|
|
)
|
|
|
|
func send_popup(conn *minecraft.Conn, text string) {
|
|
conn.WritePacket(&packet.Text{
|
|
TextType: packet.TextTypePopup,
|
|
Message: text,
|
|
})
|
|
}
|