format the code

This commit is contained in:
Tnze
2019-05-29 21:34:58 +08:00
parent ec50ada707
commit 778caf1a40
4 changed files with 4 additions and 3 deletions

View File

@ -124,7 +124,7 @@ func (c *Client) handlePacket(p pk.Packet) (disconnect bool, err error) {
case data.NamedSoundEffect:
err = handleNamedSoundEffect(c, p)
default:
// fmt.Printf("ignore pack id %X\n", p.ID)
}
return

View File

@ -11,7 +11,7 @@ type Player struct {
Yaw, Pitch float32
OnGround bool
HeldItem int //拿着的物品栏位
HeldItem int //拿着的物品栏位
Health float32 //血量
Food int32 //饱食度