refactor: rename a few things

This commit is contained in:
2025-02-17 11:53:24 -05:00
parent 93348835ac
commit 2373d6500e
21 changed files with 7 additions and 7 deletions

View File

@@ -4,7 +4,7 @@ mod arguments;
mod commands;
mod events;
mod http;
mod scripting;
mod lua;
use azalea::{brigadier::prelude::CommandDispatcher, prelude::*};
use clap::Parser;
@@ -34,7 +34,7 @@ async fn main() -> anyhow::Result<()> {
let username = globals.get::<String>("USERNAME")?;
globals.set("script_path", script_path)?;
scripting::register_functions(&lua, &globals)?;
lua::register_functions(&lua, &globals)?;
let mut commands = CommandDispatcher::new();
register(&mut commands);