Skip to content

Commit

Permalink
Update client.go
Browse files Browse the repository at this point in the history
  • Loading branch information
Edouard127 committed Oct 7, 2023
1 parent 45be12b commit 1c95318
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion bot/provider/client.go
Original file line number Diff line number Diff line change
Expand Up @@ -40,6 +40,6 @@ func NewClient(auth data.Auth) *Client {
World: clientWorld,
PlayerList: core.NewPlayerList(),
Player: NewPlayer(basic.DefaultSettings, clientWorld, auth),
Events: Events[Client]{handlers: make(map[int32]*handlerHeap[Client]), tickers: new(tickerHeap[Client])},
Events: Events[Client]{handlers: make(map[int32][]PacketHandler[Client]), tickers: []TickHandler[Client]{}},
})
}

0 comments on commit 1c95318

Please sign in to comment.