Basic support for 1.16.1

This commit is contained in:
genanik
2020-07-01 11:32:58 +08:00
parent 32a6898b12
commit 444229216a
6 changed files with 35 additions and 20 deletions

View File

@ -38,7 +38,7 @@ func onGameStart() error {
return nil //if err isn't nil, HandleGame() will return it.
}
func onChatMsg(c chat.Message, pos byte) error {
func onChatMsg(c chat.Message, pos byte, uuid string) error {
log.Println("Chat:", c.ClearString()) // output chat message without any format code (like color or bold)
return nil
}