Merge #206
This commit is contained in:
@ -108,11 +108,12 @@ func onSound(id int, category int, x, y, z float64, volume, pitch float32) error
|
||||
}
|
||||
|
||||
func onChatMsg(c *basic.PlayerMessage) error {
|
||||
log.Println("Chat:", c.SignedMessage.String())
|
||||
log.Println("Chat:", c.SignedMessage)
|
||||
return nil
|
||||
}
|
||||
|
||||
func onSystemMsg(c chat.Message, pos byte) error {
|
||||
log.Printf("System: %v, Location: %v", c.String(), pos)
|
||||
log.Printf("System: %v, Location: %v", c, pos)
|
||||
return nil
|
||||
}
|
||||
|
||||
|
@ -99,8 +99,9 @@ func onChatMsg(c *basic.PlayerMessage) error {
|
||||
log.Println("Chat:", c.SignedMessage.String())
|
||||
return nil
|
||||
}
|
||||
|
||||
func onSystemMsg(c chat.Message, pos byte) error {
|
||||
log.Printf("System: %v, Location: %v", c.String(), pos)
|
||||
log.Printf("System: %v, Location: %v", c, pos)
|
||||
return nil
|
||||
}
|
||||
|
||||
|
Reference in New Issue
Block a user