Add the files I forget adding

This commit is contained in:
Tnze
2021-02-18 21:36:27 +08:00
parent ea0e0d1cae
commit 178c34eacb
4 changed files with 1182 additions and 6 deletions

View File

@ -319,7 +319,7 @@ func handleSoundEffect(c *Client, p pk.Packet) error {
}
if c.Events.SoundPlay != nil {
if soundName, ok := data.GetSoundNameByID(data.SoundID(s.Sound)); ok {
if soundName, ok := soundid.GetSoundNameByID(soundid.SoundID(s.Sound)); ok {
return c.Events.SoundPlay(
soundName, int(s.Category),
float64(s.X)/8, float64(s.Y)/8, float64(s.Z)/8,