try read ChunkData

This commit is contained in:
JunDao
2019-05-21 00:11:27 +08:00
parent 6be465640f
commit 837bb0b213
7 changed files with 46247 additions and 20499 deletions

View File

@ -41,8 +41,10 @@ func NewClient() (c *Client) {
c.Name = "Steve"
c.Delegate = make(chan func() error)
c.Wd.Entities = make(map[int32]entity.Entity)
c.Wd.Chunks = make(map[world.ChunkLoc]*world.Chunk)
c.Wd = world.World{
Entities: make(map[int32]entity.Entity),
Chunks: make(map[world.ChunkLoc]*world.Chunk),
}
return
}