Compare commits
1 Commits
update
...
5e48377969
Author | SHA1 | Date | |
---|---|---|---|
5e48377969
|
@@ -14,6 +14,8 @@ use tokio::net::TcpListener;
|
||||
|
||||
#[allow(clippy::too_many_lines)]
|
||||
pub async fn handle_event(client: Client, event: Event, state: State) -> anyhow::Result<()> {
|
||||
state.lua.gc_stop();
|
||||
|
||||
match event {
|
||||
Event::AddPlayer(player_info) => {
|
||||
call_listeners(&state, "add_player", Player::from(player_info)).await;
|
||||
|
Reference in New Issue
Block a user