Doesn't convert UUID to string in ChatMsg event.
This commit is contained in:
@ -1,6 +1,7 @@
|
||||
package main
|
||||
|
||||
import (
|
||||
"github.com/google/uuid"
|
||||
"log"
|
||||
"time"
|
||||
|
||||
@ -72,7 +73,7 @@ func onSound(name string, category int, x, y, z float64, volume, pitch float32)
|
||||
return nil
|
||||
}
|
||||
|
||||
func onChatMsg(c chat.Message, pos byte, uuid string) error {
|
||||
func onChatMsg(c chat.Message, pos byte, uuid uuid.UUID) error {
|
||||
log.Println("Chat:", c)
|
||||
return nil
|
||||
}
|
||||
|
Reference in New Issue
Block a user