From 4acf0c4fc85470e8b8df62c92881daebda164e8e Mon Sep 17 00:00:00 2001 From: Joshua Goins Date: Sun, 22 Jun 2025 10:15:58 -0400 Subject: [PATCH] Remove "Registered XYZ" messages from the World server Now that we have a ton of events registered, this just becomes log spam. I initially added it while testing the Lua API, but I don't think it's necessary anymore. --- src/world/lua.rs | 3 --- 1 file changed, 3 deletions(-) diff --git a/src/world/lua.rs b/src/world/lua.rs index ae2a04c..522a712 100644 --- a/src/world/lua.rs +++ b/src/world/lua.rs @@ -418,7 +418,6 @@ impl FromLua for EffectsBuilder { pub fn load_global_script(lua: &mut Lua) -> mlua::Result<()> { let register_action_func = lua.create_function(|lua, (action_id, action_script): (u32, String)| { - tracing::info!("Registering {action_id} with {action_script}!"); let mut state = lua.app_data_mut::().unwrap(); let _ = state.action_scripts.insert(action_id, action_script); Ok(()) @@ -426,7 +425,6 @@ pub fn load_global_script(lua: &mut Lua) -> mlua::Result<()> { let register_event_func = lua.create_function(|lua, (event_id, event_script): (u32, String)| { - tracing::info!("Registering {event_id} with {event_script}!"); let mut state = lua.app_data_mut::().unwrap(); let _ = state.event_scripts.insert(event_id, event_script); Ok(()) @@ -434,7 +432,6 @@ pub fn load_global_script(lua: &mut Lua) -> mlua::Result<()> { let register_command_func = lua.create_function(|lua, (command_name, command_script): (String, String)| { - tracing::info!("Registering {command_name} with {command_script}!"); let mut state = lua.app_data_mut::().unwrap(); let _ = state.command_scripts.insert(command_name, command_script); Ok(())