feat: expose build information

This commit is contained in:
2025-03-06 19:27:02 -05:00
parent b20beb6e88
commit 4d3947c4ef
12 changed files with 105 additions and 15 deletions

View File

@@ -4,7 +4,7 @@ use azalea::blocks::{
};
use mlua::{Function, Lua, Result, Table};
pub fn register_functions(lua: &Lua, globals: &Table) -> Result<()> {
pub fn register_globals(lua: &Lua, globals: &Table) -> Result<()> {
globals.set(
"get_block_from_state",
lua.create_function(get_block_from_state)?,