bot can receive chunks now

This commit is contained in:
Tnze
2022-03-13 11:57:02 +08:00
parent d8695636b6
commit 2aace6b51a
17 changed files with 452 additions and 78 deletions

View File

@ -56,6 +56,7 @@ func NewGame(dim Level, components ...Component) *Game {
components: components,
handlers: make(map[int32][]*PacketHandler),
}
dim.Init(g)
for _, v := range components {
v.Init(g)
}