From 58ca83157b7150aef3b0e3f9bd68f456b377e0b6 Mon Sep 17 00:00:00 2001 From: Tnze Date: Sat, 25 Jun 2022 14:14:01 +0800 Subject: [PATCH] Player chunk load limiter --- chat/message.go | 13 +++++++++++++ 1 file changed, 13 insertions(+) diff --git a/chat/message.go b/chat/message.go index f4fcf33..bec4d59 100644 --- a/chat/message.go +++ b/chat/message.go @@ -22,6 +22,19 @@ import ( pk "github.com/Tnze/go-mc/net/packet" ) +type Type int32 + +const ( + Chat Type = iota + System + GameInfo + SayCommand + MsgCommand + TeamMsgCommand + EmoteCommand + TellrawCommand +) + // Colors const ( Black = "black"